News for hackers. Stuff that matters.
Re:The New OCaml Website by hyperhopper on Friday April 29, 2022 @02:22PM (#31208882)
This is totally a biased cop out, but I'd say "most things".

Like, what's java's niche? I'd say it doesn't really have one anymore, it's just a generalist language. Ocaml is also a generalist language, but it has much better language paradigms, is safer, more concise, has more features with less baggage, etc. It's just good all around.

As a functional programming advocate, I'd point to safety, readability, and development velocity as features, but those are all around good and desirable, not really a niche.

I wish more companies were using languages like ocaml/f#/clojure vs c++/python/java when there is no specific reason to use the former.

Re:The New OCaml Website by progre on Friday April 29, 2022 @03:19PM (#31209551)
Maybe it's more usefull to talk about a 'slant'? Like, you can totaly do desktop apps with custom GUI components in Java but those tends to be written in C++ for some reason.

Like java, python, c# 'slants' towards web services and maaybe CRUD apps, C++ 'slants' towards games and graphicly complex apps.

Re:The New OCaml Website by nicoburns on Friday April 29, 2022 @04:45PM (#31210378)
I have no personal experience, but I've heard OCaml is particularly excellent for writing compilers.
Re:The New OCaml Website by afandian on Friday April 29, 2022 @03:06PM (#31209400)
Which side would you put Kotlin in? Feels equidistant between Clojure and Java.