caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Julien Signoles <julien.signoles@gmail.com>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Ocaml and the Fragile Base Class Problem
Date: Sun, 28 Aug 2011 19:58:46 +0200	[thread overview]
Message-ID: <CAPczgCASdOz-HMw3hKzS88deEAtDs9gmT6Smwj=efFo0HJ6AzA@mail.gmail.com> (raw)
In-Reply-To: <1314473840.3496.132.camel@thinkpad>

[-- Attachment #1: Type: text/plain, Size: 920 bytes --]

Hello,

2011/8/27 Gerd Stolpmann <info@gerd-stolpmann.de>

> I can only speculate why OO is not that much used in OCaml.  Second, there
> are practical
> difficulties - sometimes very long error messages (1000 lines and more),
> and surprising weak spots in the type checker (e.g. when a method has
> optional arguments).
>

I don't think that OO is not that much used because error messages may be
long: there is the same issue with the module system which is now quite
widely used. Personally I'm not so unhappy with a 1.000 lines-long error
message : last Friday again, I get an error message with many more than
100.000 lines (when compiling a file with less than 1.000 lines of code): it
took several minutes to be printed and few seconds to be fixed: the 2 last
lines of the message was the familiar "values do not match val v: tau1 is
not included in val v: tau2" which was easy to fix in that case...

--
Julien

[-- Attachment #2: Type: text/html, Size: 1467 bytes --]

      parent reply	other threads:[~2011-08-28 17:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-27 10:53 Chris Yocum
2011-08-27 11:24 ` Jacques Garrigue
2011-08-27 15:06 ` Gerd Stolpmann
2011-08-27 16:59   ` David Baelde
2011-08-27 19:37     ` Gerd Stolpmann
2011-08-27 20:21       ` Jeff Meister
2011-08-27 23:08         ` Gerd Stolpmann
2011-08-28  9:31           ` Andreas Rossberg
2011-08-28 10:04             ` Guillaume Yziquel
2011-08-28 10:11             ` Gerd Stolpmann
2011-08-28 10:50               ` Andreas Rossberg
2011-08-29  3:35           ` Jacques Garrigue
2011-08-29 11:19             ` Chris Yocum
2011-08-29 11:47               ` Guillaume Yziquel
2011-08-29 12:03                 ` Chris Yocum
2011-08-31 21:33             ` Alain Frisch
2011-08-31 23:39               ` Jacques Garrigue
2011-08-28 17:58       ` Julien Signoles [this message]

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='CAPczgCASdOz-HMw3hKzS88deEAtDs9gmT6Smwj=efFo0HJ6AzA@mail.gmail.com' \
    --to=julien.signoles@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=info@gerd-stolpmann.de \
    /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).