Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: oliver <oliver@first.in-berlin.de>
To: Fabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] try ocaml website
Date: Fri, 23 Dec 2011 19:40:46 +0100	[thread overview]
Message-ID: <20111223184046.GA5565@siouxsie> (raw)
In-Reply-To: <4EF4C1B4.30408@inria.fr>

On Fri, Dec 23, 2011 at 07:00:20PM +0100, Fabrice Le Fessant wrote:
> Dear ocamllers,
> 
>   We worked hard on our "Try OCaml" website, started by Çagdas, and we
> managed to improve it enough, so that we think people can start using it
> (and hopefully, improving it).
> 
> It is available here:
> 
> http://try.ocamlpro.com/
[...]


Hey, toplevel as shellwindow in the broswer.

I like it. :-)

The black background makes it also looking seriously.

I didn't looked at the lessons in detail,
just typing in some code by myself and clicking
on some  of the examples.

Just to have a web-based trial of Ocaml is a good thing.
So people can try around before they decide to install it.

But if this is planned as a course, when the first paragraph mentions
that "OCaml is a strongly typed functional language.", then
additionally to working examples it might also make sense to show
examples, where types mismatch, so that people can see, what meaning it has
if the types do conflict.

And an explanation of the advantages might also be good, because
most people prefer the convenience of automatic coercion over the
annoyance of a picky typesystem, when they decide to use a language.

Maybe something like commenting boxes could be added, which
explain the advantages/disadvantages of some certain properties
of the language and someting like a "background box", which explains
for example some conecptual issues of either functional programming,
like referential transparency, or some background on the type system.
Or for explaining design decisions of OCaml, for example the motivation
for mutable strings, as opposed to functional, as in other functional
languages (and tips&tricks how to make a functional implementation, just to
show, it could be done).


[...]
>   As the engine is translated from OCaml to Javascript by js_of_ocaml,
> you can even play with it offline, when you are disconnected.
[...]

js_of_ocaml ??

Hey, didn't knew that.

If it works fine, then it is a big, big pro to OCaml,
compared to some other languages which are used often for
web-development (like Python, Perl and so on).

From the js_of_ocaml page it looks like it's based on Ocsigen.
Maybe it's time to explore it. :-)

This all looks promising!

Maybe webprogramming can turn from ugly annoyance into a pleasure
this way....


Ciao,
   Oliver


  parent reply	other threads:[~2011-12-23 18:40 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-23 18:00 Fabrice Le Fessant
2011-12-23 18:40 ` Dominique Martinet
2011-12-23 18:49   ` Çagdas Bozman
2011-12-23 19:10     ` Dominique Martinet
2011-12-23 19:29       ` Jérémie Dimino
2011-12-23 19:39         ` Dominique Martinet
2011-12-23 21:35         ` oliver
2011-12-23 19:36       ` Adrien
2011-12-26  8:09     ` Gabriel Scherer
2011-12-27 20:23       ` Fabrice Le Fessant
2011-12-23 18:40 ` oliver [this message]
2011-12-24  8:51   ` Stéphane Glondu
2011-12-24 10:16     ` oliver
2011-12-24 10:31       ` Dominique Martinet
2011-12-23 18:54 ` Török Edwin
2011-12-23 21:27   ` oliver
2011-12-23 18:56 ` Ashish Agarwal
2011-12-23 19:15   ` Philippe Strauss
2011-12-23 21:14     ` Norman Hardy
2011-12-23 21:18       ` William Le Ferrand
2011-12-23 21:32   ` oliver
2011-12-26  8:50 ` Mihamina Rakotomandimby
2011-12-26  9:05 ` Esther Baruk
2012-01-03 22:12 ` Philippe Wang

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=20111223184046.GA5565@siouxsie \
    --to=oliver@first.in-berlin.de \
    --cc=Fabrice.Le_fessant@inria.fr \
    --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