DISQUS

Skydeck Blog: Start Hacking in OCaml in 5 Steps

  • mind · 2 years ago
    what a completely useless post.

    steps 1 and 2 are outdated, and ocaml is probably already installed due to having said at one time 'i should learn ocaml, so apt-get install ocaml'

    step 3 is just a political statement. most likely if someone is a programmer, they already _have_ an editor they prefer working in.

    step 4 is kind of the real step here. but your post could have simply been a link to the tutorial, then.

    step 5 is going to help you stay in touch with the language, not actually do simple things to learn it, so in the absence of any other usefulness to this list, it doesn't stand on it's own
  • Samuel · 2 years ago
    hmm...

    > steps 1 and 2 are outdated . . . so apt-get install ocaml

    I can't resist. You mean, there are still people who use Debian?

    > step 3 is just a political statement.

    No, sorry, nothing in the instructions implies the user must use emacs. The make target is for installing the requisite elisp modules for getting Emacs to grok OCaml source for syntax highlighting purposes.

    If you use vim, you're more than likely familiar with the existance (and the religious war against) emacs. Ergo, any vim-using baffoon will have even that slight amount of experience to say, "Hmm...I can just GOOGLE for VIM scripts for use with OCaml." Or just grab VIM 7, which has scripts bundled with it already, IIRC (at least mine does).

    The rest of your comment just degenerates into useless blather. I suppose, a useless comment by a useless "mind", for a "useless" article. I'm not even going to dignify its presence beyond this paragraph.
  • Samuel · 2 years ago
    For the record, I'm a vim user. And I didn't find this blog post useless at all. These folks are trying to get programmers who are fluent in OCaml. OCaml is not widely known as a language. It is in the company's best interest to widen their pool of developers.

    I do not work for SkyDeck. I work for another company, though, the products of which most people use every day of their lives without realizing it.
  • Tor · 2 years ago
    Huh? Debian? Me!

    I also use Ubuntu, so, again: "apt-get".

    Wait, I use Mac OS X too! With Fink! So, once more: apt-get.

    But wait - there's more! I am writing this on my Nokia N800 Internet Tablet. One more time -- apt-get (though no "aptitude" on this one...)

    Back to the point - let's not forget that both Debian and its more sexy offspring Ubuntu both are continuosly growing their "market" share even on desktop Linux systems, at the expense of the various RedHat derived distributions (RedHat, Mandrake, Fedora, etc).

    # apt-get install world-order
    Reading package lists... Done
    Building dependency tree... Done
    The following NEW packages will be installed:
    debian gnu gsm umts wimax frequency-standard
    The following packages will be removed:
    qualcom cdma microsoft whitehouse fcc
    Need to get 713kB of archives.
    After unpacking 25652356325kB of disk space will be freed.
    Install these packages [Y/n]? _
  • mind · 2 years ago
    i don't particularly care about steps 1-3. that's not my point. my point is that this "tutorial" might as well read:

    HOW TO LEARN OCAML:
    1. learn ocaml
    2. ....
    3. PROFIT!!!

    it's the equivalent of a linkjacked blog post.