caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Matej Košík" <mail@matej-kosik.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Are record types generative?
Date: Thu, 25 Jan 2018 11:49:29 +0100	[thread overview]
Message-ID: <cbd1a048-b14b-7ddd-1b88-76bd43b5615b@matej-kosik.net> (raw)
In-Reply-To: <CAJbYVJKUEAfhxH2tKgydbu=3wPuWBgYYHjK_GE6+y7Nca21MPg@mail.gmail.com>

Hi

On 01/24/18 02:56, Yawar Amin wrote:
> Hi,
> 
> On Tue, Jan 23, 2018 at 6:14 PM, Hendrik Boom <hendrik@topoi.pooq.com <mailto:hendrik@topoi.pooq.com>> wrote:
> 
>     I'm starting to think that the ability to write OCaml programs without
>     mentioning the types is a drawback in the language, because it makes
>     programs hard to understand.
> 
> 
>  It's a tooling issue.

It very much depends on what you (honestly) care about.

If you do not care about readability of the programs you write, then it is "tooling issue"
(like in "Use Merlin bro!")

If you care about readability, then ephemeral Merlin (or whatever) tooltips are not exactly the same stuff
as type information that is directly, permanently, unconditionally present in the source code.

From the reader's point of view, it is not the same thing, really.

In addition to that, when one uses polymorphic variants heavily,
the presence or absence of typing annotations makes a drastic impact on the ability of typing errors the compiler can generate.

From the programmer's point of view (who has to deal with typing errors when they happen), it is not the same thing, really.

  reply	other threads:[~2018-01-25 10:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23 14:54 Oleg
2018-01-23 16:05 ` Jeremy Yallop
2018-01-23 17:39   ` Chet Murthy
2018-01-23 20:35     ` Jeremy Yallop
2018-01-23 21:36       ` Chet Murthy
2018-01-23 22:06         ` Jeremy Yallop
2018-01-23 23:14           ` Hendrik Boom
2018-01-24  1:06             ` Chet Murthy
2018-01-24  1:35             ` Francois BERENGER
2018-02-07  2:00               ` [Caml-list] [ANN] first release of bst: a bisector tree implementation Francois BERENGER
2018-02-07 12:40                 ` Ivan Gotovchits
2018-02-08  0:46                   ` Francois BERENGER
2018-01-24  1:56             ` [Caml-list] Are record types generative? Yawar Amin
2018-01-25 10:49               ` Matej Košík [this message]
2018-01-25 13:39                 ` Simon Cruanes
2018-01-25 16:24                 ` Yawar Amin
2018-01-24  1:05           ` Chet Murthy
2018-01-24  8:43             ` Jacques Garrigue
2018-02-02 23:07               ` Toby Kelsey
2018-02-02 23:23                 ` Evgeny Roubinchtein
2018-02-04  1:27                 ` Jacques Garrigue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cbd1a048-b14b-7ddd-1b88-76bd43b5615b@matej-kosik.net \
    --to=mail@matej-kosik.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).