From: Brian Rogoff <bpr@best.com>
To: Francisco Reyes <fran@reyes.somos.net>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: Good programming languages (Was: Redefinition doesn't work)
Date: Tue, 7 Nov 2000 09:36:52 -0800 (PST) [thread overview]
Message-ID: <Pine.BSF.4.21.0011070900580.12454-100000@shell5.ba.best.com> (raw)
In-Reply-To: <200011060619.BAA39908@sanson.reyes.somos.net>
On Mon, 6 Nov 2000, Francisco Reyes wrote:
> 2 for interactive.
> In my case at least Ocaml still shows too much of it's research
> background. It is taking me some time to get used to or even
> understand the output of the interactive environment.
Well, it will only get better with specific comments for improvements.
Saying "interactive mode sucks" sucks. If you have problems understanding
the output (inferred types?) from the top level then post a question here
or on comp.lang.functional.
> So far from the little I have seen it is not the libraries that
> it is a problem. It is the docs and the examples. I asked once
> if it was possible to contribute to the documentation and got no
> answer.
How about just writing some docs that you'd like to see and putting them
on a web page? No need to ask the team at INRIA for permission, and
anyways, I'd rather that they were busy adding recursive modules and
overloading to Ocaml than adding more instructional docs ;-).
> For instance there is no samples with the libraries so
> for beginners it is difficult at the beginning to understand how
> to use a library because there are no examples.
If you ask a specific question like "Can someone show me how to use the
Format module to do ..." then someone, maybe even me, will happily cobble
together an example, but vague comments like the above are tough to help
with. Hopefully when we have an English version of the OReilly book you'll
find more satisfactory examples.
> To make things worse I bought a book to try and learn Caml and the
> examples/exercises are highly math driven. I find this too be a
> horrible thing to have done.
Most people who learn Ocaml are strong in maths so this is natural. If you
stick with Caml you'll find lots of compiler oriented examples too. Sorry
to be a broken record here but why not ask for examples of the kind that
specifically interest you? If you want to understand Unison then maybe you
are more of a systems programming kind of guy and you want to understand
how the Unix module can be used?
> When I look at the exercises I
> spend more time trying to thing how the math is going to work
> out than how I am going to program the thing. Example: the first
> exercise is to prove that Ax^2 + bx + c = 0 is solvable given
> three parameters a,b,c.
Well, the translator must have been inaccurate because it is *always*
solvable, so you have to infer that they mean "has real roots" :-).
> For someone who is contantly doing math
> this is probably trivial, but I have not taken any math clases
> on years and I don't see the point on linking the exercises so
> much to math. This perhaps is linked to the previous(current?)
> set of intended users.
Unfortunately, we run into the problem that a large number of potential
users probably couldn't care less about the examples that interest you
either. If you come up with some examples that you find illuminating and
would like to share them then by all means do so.
> If Ocaml is to ever become a general purpose language then the
> docs/examples need to be less theorical and more practical.
Ocaml already is a general purpose language, thanks. I agree that we need
more documents in order to spread the knowledge. However, I like the
examples that you find too theoretical. I work in software for VLSI
design, so examples from maths, compilers, computational geometry,
graph theory, etc. all seem very practical to me.
> >2 for good syntax (it is very easy to spend a lot of time trying to get the
> >program to compile, for example I called a attribute in a record 'value',
> >and that works sometimes I have noticed :-),
>
> I agree with the 2. I don't know if it is my lack of having
> worked with other functional languages, but I find the Ocaml
> syntax strange.
I'm not terribly thrilled by the syntax either, but I hardly see how it
gets a 2 from you after you showed such deference to Perl. Perl and C++
are syntactic abominations.
-- Brian
next prev parent reply other threads:[~2000-11-08 17:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200010300739.IAA13016@pauillac.inria.fr>
2000-10-30 23:38 ` Redefinition doesn't work Jaeyoun Chung
2000-10-31 11:06 ` Pierre Weis
2000-10-31 11:52 ` Sven LUTHER
2000-10-31 16:47 ` Pierre Weis
2000-10-31 18:55 ` Stefan Monnier
2000-11-02 15:42 ` Pierre Weis
2000-11-03 3:10 ` Stefan Monnier
2000-11-03 8:44 ` Good programming languages (Was: Redefinition doesn't work) Mattias Waldau
2000-11-03 15:27 ` bcpierce
2000-11-06 0:17 ` Jacques Garrigue
2000-11-08 18:42 ` Markus Mottl
2000-11-09 16:20 ` Juan J. Quintela
2000-11-10 10:06 ` Markus Mottl
2000-11-13 7:48 ` Stephan Houben
2000-11-10 19:06 ` Remi VANICAT
2000-11-06 6:17 ` Francisco Reyes
2000-11-07 17:36 ` Brian Rogoff [this message]
2000-10-31 14:16 ` Redefinition doesn't work Frank Atanassow
2000-10-31 17:07 ` Pierre Weis
2000-10-31 17:26 ` LINUX MANDRAKE -> CAMLTK? mlf
2000-11-02 20:21 ` Pierre Weis
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=Pine.BSF.4.21.0011070900580.12454-100000@shell5.ba.best.com \
--to=bpr@best.com \
--cc=caml-list@inria.fr \
--cc=fran@reyes.somos.net \
/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