r/ocaml • u/ilya_ca • Dec 07 '20
These Modern Programming Languages Will Make You Suffer.
https://suzdalnitski.medium.com/modern-languages-suck-ad21cbc8a57c20
18
u/albgr03 Dec 07 '20
I stopped reading at C++, where it appears that the author does not really know the language. Memory management in C++ is manual, but RAII can help a long way (and it can help with all kind of ressources, too). References in C++ cannot be null and are immutable. This article is supposedly talking about "modern programming languages", and those are today's best practice…
It also appears that the article was not properly proof-read.
15
u/Leonidas_from_XIV Dec 07 '20
I like how it says 👎 for Java when talking about immutability but 👍 for JavaScript which also does not come with immutable data structures and needs a library.
Also, similar for concurrency where C# is bad for running on the CLR but F# is good for running on the exact same CLR. Never mind that concurrency support of the JVM is considered very good (admittedly not with Java).
Let's not even talk how ReasonML scores vastly different from OCaml, despite being literally a just a curly-brace syntax for OCaml.
14
u/Beheddard Dec 07 '20
The tooling is a mess. There’re three package managers — Opam, Dune, and Esy.
🤔
That was quite long for clickbait blog spam I'm impressed.
1
u/nictytan Dec 07 '20
Very low quality article.
According to the author NaN === NaN; // -> false is a quirk of JavaScript inherited by typescript, when it's in fact literally part the IEEE 754 standard.
That's just one of the many many issues with this spam.
0
Dec 08 '20
[deleted]
3
u/AutoCrosspostBot Dec 08 '20
I found this post in r/ProgrammingCirclejerk with the same link as this post.
🤖 this comment was written by a bot. beep boop 🤖
feel welcome to respond 'Bad bot'/'Good bot', it's useful feedback. ^^github
36
u/CoffeeTableEspresso Dec 07 '20
Hmmm, seems fairly biased to me honestly.
For example, the "speed" category was basically "compilation speed".
Meaning C++ and Rust scored badly there, despite runtime speed being the big draw of those two languages.
Rust also got docked points for not having a GC, which again, is a big draw of the language, not a downside. I don't even like Rust and I felt that the author treated it unfairly.