News for hackers. Stuff that matters.
Re:OCaml at First Glance by p4bl0 on Monday August 29, 2022 @09:51AM (#32638234)
If using semicolons instead of commas is enough of a showstopper for you it's probably that you just don't have a need for the language :).
Re:OCaml at First Glance by acjohnson55 on Monday August 29, 2022 @09:23PM (#32645656)
Honestly, I'd argue that few people do. At a previous employer, we used it in situations where would have been much better off with a more mainstream language, in my opinion.

Of course, there are few situations that require any particular language.

Re:OCaml at First Glance by p4bl0 on Tuesday August 30, 2022 @04:13AM (#32647900)
Of course. But for example if you are writing a compiler, an interpreter, or anything that has to manipulate something that resembles a structured tree of meaningful data, OCaml is particularly well suited :).
Re:OCaml at First Glance by int_19h on Thursday September 01, 2022 @01:07AM (#32672238)
Any language with ADTs and pattern matching is reasonably suited for that task, and unlike 20 years ago, these aren't obscure features anymore, so there are many options.