Re:Compile OCaml to JavaScript, Run on Node
by to3m on Thursday December 03, 2015 @01:22PM
(#10671466)
A better analogy would be driving a car - it's not a tangerine.
Re:Compile OCaml to JavaScript, Run on Node
by ch on Thursday December 03, 2015 @02:09PM
(#10671787)
More like it allows you to accelerate with a pedal on the floor rather than by pulling a string attached directly to the throttle. No loss of flexibility, but you put some trust in the vehicle that you would otherwise have to manage yourself.
Static type systems prevent you from expressing certain programs (I think this is a good thing, but not everyone does).
A better analogy would be antilock brakes or understeer - safer but prevents you from doing certain things.