15
ganjaman
124d

After struggling with js for a while, bless the ocaml ecosystem and community, now i actually get shit done instead of fighting with npm.

Comments
  • 4
    (I say on the day i spent 4 hours grepping files from the opam install directory)
  • 8
    I'm a simple man. I see dislike towards npm, i++ :)
  • 4
    I’m a simple man. I see “I’m a simple man. I see dislike towards npm, I ++ :)”, I ++ :)
  • 8
    I'm a simple man. I see "I'm a simple man. I see "I'm a simple man. I see dislike towards npm, i++ :)", I ++ :)", i++ :)
    Let the recursion begin :3
  • 3
    I’m a simple man. I see “I’m a simple man. I see “I’m a simple man. I see “I’m a simple man. I see dislike towards npm, I ++ :)”, I ++ :)”, I ++ :)”, I ++ :)
  • 8
    I'm a simple man. I see "I'm a simple man. I see "I'm a simple man. I see "I'm a simple man. I see "I'm a simple man. I see dislike towards npm, I ++ :)", I ++ :)", I ++ :)", I ++ :)", i++ :)
  • 2
    I'm a simple man, I see recursion, I bring a termination point.
  • 4
    I'm a simple man, I flee at the thought of having to use Ocaml;;
  • 0
    @TheOct0 someone doesn't like a good type system which actually works?
  • 1
    @sharktits I wish I could do the same...
  • 5
    @kpenc I hate ocaml because I find it very unpractical, and very complex (even to do the simplest tasks). Also, double ; .-.
  • 0
    @TheOct0 It's very practical. And that's how good languages are, complex. Functional programming requires a lot of thought and mental capabilities and that's why it's not the mainstream. You can't employ Indians for 1 buck am hour.
  • 5
    @kpenc I wouldn't say good languages are complex. I would say good languages are powerful. And power doesn't only come with capabilities, but also how long it takes to complete each tasks, and with what ease.
  • 0
    @TheOct0 how long depends on the person. How long and what have you written in Ocaml to say it's unpractical? Ask Jane Street if it's unpractical, ask Yaron Minsky. :)
  • 4
    @kpenc I have spent a whole semester learning it, and it took me hours to write something I could have written a lot more easily in a bunch of languages. And about those two, some people also are hugely talented at fast clapping, juggling and a number of things. That doesn't make those things practical, or easy to perform... I can see the advantages of ocaml, it just isn't a language for me. Just like fast clapping. Congrats on you for being able to use it well though, that (to me) is a feat :)
  • 1
    @kpenc @TheOct0 The world is a big place. We don't all need to be excited about the same things.
  • 1
    @kpenc its very rare to see ocaml devs
  • 0
    @sharktits I'm not an Ocaml dev but I like the language as the others from the ML family. They are all great
  • 1
    @TheOct0 ;; is not necessary tho, it only tells the repl to evaluate execution

    But yeah i can see why some people would think its overcomplicated. I love strict types and oop (coming from java) so it would obviously click for me, maybe not so much for people using script languages
  • 1
    The solution for everybody struggling with OCamls syntax is to use ReasonML. More brackets, a more Javascript-y style but still the same powerful type system and great features like pattern matching, Variant types and more.
  • 2
    @finiteAutomaton ill stick to ocaml thanks
  • 1
    @sharktits Yeah if you are already used to it I see no point in switching.
Your Job Suck?
Get a Better Job
Add Comment