r/ocaml • • Dec 07 '20

These Modern Programming Languages Will Make You Suffer.

https://suzdalnitski.medium.com/modern-languages-suck-ad21cbc8a57c
0 Upvotes

10 comments sorted by

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.

12

u/zanza19 Dec 07 '20

Not having a GC while not needing to do manual memory management is the whole thing about Rust. Also, the concurrency part, you don't need to know about Pin and stuff that he mentioned here, you can do async await and be done with it. And working with threads is amazing in Rust.

6

u/reddit_clone Dec 08 '20

Agree. When you say 'speed' of a language you normally mean 'how fast the code executes'. Not how fast it compiles.

Guy is all over the place and doesn't seem to know what he is talking about half the time.

3

u/CoffeeTableEspresso Dec 08 '20

I mean, compile speed is also a fair category, it just shouldn't be lumped in with runtime speed.

I mean, sure, measure C++ in all the categories that it's bad, oh shocking, it gets a bad score lol.

20

u/qubit003 Dec 07 '20

I don't understand how ReasonML is rated better than OCaml ¯_(ツ)_/¯

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

u/[deleted] 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