@Debo...have you thought about F#?

-------- Original Message --------
Subject: toronto-lisp Digest, Vol 37, Issue 7
From: toronto-lisp-request@common-lisp.net
Date: Thu, January 13, 2011 1:00 pm
To: toronto-lisp@common-lisp.net

Send toronto-lisp mailing list submissions to
toronto-lisp@common-lisp.net

To subscribe or unsubscribe via the World Wide Web, visit
http://common-lisp.net/cgi-bin/mailman/listinfo/toronto-lisp
or, via email, send a message with subject or body 'help' to
toronto-lisp-request@common-lisp.net

You can reach the person managing the list at
toronto-lisp-owner@common-lisp.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of toronto-lisp digest..."


Today's Topics:

1. OCaml (D. J. Penton)
2. Re: OCaml (Rudolf Olah)
3. Re: OCaml (Michael DiBernardo)


----------------------------------------------------------------------

Message: 1
Date: Wed, 12 Jan 2011 23:33:45 -0500
From: "D. J. Penton" <djp@arqux.com>
Subject: [toronto-lisp] OCaml
To: toronto lisp <toronto-lisp@common-lisp.net>
Message-ID: <93FB619D-1F5D-49E4-8986-BD5A48B52E2D@arqux.com>
Content-Type: text/plain; charset=us-ascii

I have to get this off my chest.

I am now seriously obliged to learn OCaml for use in a course in my grad program. In 2010 I just tinkered with the language. But the honeymoon is over.

So far I hate OCaml more than words can say. Maybe it's the book I'm using to learn it. I ordered a different book from Amazon. I hope the new book helps. If not I shall suffer grievously throughout the term. I don't half mind Haskell, but Holy Snapping Assholes, Batman - not OCaml, pleeeeease.

Pray for me.

- Dave -


------------------------------

Message: 2
Date: Thu, 13 Jan 2011 08:34:25 -0500
From: Rudolf Olah <omouse@gmail.com>
Subject: Re: [toronto-lisp] OCaml
To: "D. J. Penton" <djp@arqux.com>
Cc: toronto lisp <toronto-lisp@common-lisp.net>
Message-ID: <1294925665.15517.2.camel@omouse-laptop>
Content-Type: text/plain; charset="UTF-8"

On Wed, 2011-01-12 at 23:33 -0500, D. J. Penton wrote:
> I have to get this off my chest.
>
> I am now seriously obliged to learn OCaml for use in a course in my
> grad program. In 2010 I just tinkered with the language. But the
> honeymoon is over.
>
> So far I hate OCaml more than words can say. Maybe it's the book I'm
> using to learn it. I ordered a different book from Amazon. I hope the
> new book helps. If not I shall suffer grievously throughout the term.
> I don't half mind Haskell, but Holy Snapping Assholes, Batman - not
> OCaml, pleeeeease.


What is it that you hate about it? I tried it out briefly and it looked
ok. Something like haskell except imperative/deterministic ;p I liked
the pattern matching.

--
Rudolf Olah <omouse@gmail.com>




------------------------------

Message: 3
Date: Thu, 13 Jan 2011 08:47:08 -0500
From: Michael DiBernardo <mikedebo@gmail.com>
Subject: Re: [toronto-lisp] OCaml
To: toronto lisp <toronto-lisp@common-lisp.net>
Message-ID: <E8F5413A-11A0-48B7-9494-AFCFF87D7EC1@gmail.com>
Content-Type: text/plain; charset=us-ascii


On 2011-01-13, at 8:34 AM, Rudolf Olah wrote:

> On Wed, 2011-01-12 at 23:33 -0500, D. J. Penton wrote:
>> I have to get this off my chest.
>>
>> I am now seriously obliged to learn OCaml for use in a course in my
>> grad program. In 2010 I just tinkered with the language. But the
>> honeymoon is over.
>>
>> So far I hate OCaml more than words can say. Maybe it's the book I'm
>> using to learn it. I ordered a different book from Amazon. I hope the
>> new book helps. If not I shall suffer grievously throughout the term.
>> I don't half mind Haskell, but Holy Snapping Assholes, Batman - not
>> OCaml, pleeeeease.
>
>
> What is it that you hate about it? I tried it out briefly and it looked
> ok. Something like haskell except imperative/deterministic ;p I liked
> the pattern matching.

I think a lot of what attracts people to functional languages the first time around is simplicity of implementation. This is in the sense that the programming model itself provides the richness, rather than relying on hundreds of different, specific language features being added to the spec/compiler.

OCaml is sort of the C++ of functionally-oriented languages in that there are a huge number of features built right into the language, each with their own specific syntax. This can get frustrating when you accidentally misuse your intended syntax and stumble into a feature that you didn't even know about. When you compound this with the fact that the error messages from the compiler aren't the greatest (at least they weren't during my last, circa-2008 experience), it does feel sort of plodding.

I am one of those people that loves OCaml for its quirks. However, I can appreciate why the haters continue to hate on it :)

-Debo

Disclaimer -- I have never done anything significant in Common Lisp; I've always restricted myself to a Scheme of one flavour or another. So it's possibly that my comments about both syntactic and general simplicity are off base.


------------------------------

_______________________________________________
toronto-lisp mailing list
toronto-lisp@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/toronto-lisp


End of toronto-lisp Digest, Vol 37, Issue 7
*******************************************