3 ms·
> Learn Nim! Why not? As someone who learned Nim as my first "serious" programming language, I do recommend to learn Nim. It is a delight to write and read. B
by archargelod 2y ago
> Learn Nim! Why not?
As someone who learned Nim as my first "serious" programming language, I do recommend to learn Nim. It is a delight to write and read.
Before I found Nim I looked at C, C++, Python and all of them full of cruft - old bad decisions that they're stuck with and forced to keep in the language. And it makes them a nightmare to learn.
In C there seems to be hundreds of subtly different OS-dependent APIs for every simple thing.
C++ was designed by mad scientist and extended to the point where even c++ developers have no idea what part of the language you should use.
Python is the messiest mess of OOP with non-existent documentation that is actually readable. Just to find how to do anything in Python I need to look at sites like stackoverflow and find outdated solutions for Python 2, deprecated functions and giant third party libraries. Yeah you don't learn Python nowadays, you forced to learn Python + NumPy + Pandas + Python Package Distribution (hell).
I had fun learning Nim, though.
- KronisLV 2y agoI feel like that’s the curse of most programming languages that end up mainstream and survive for a decade or two - some amount of legacy cruft or bad decisions that end up more or less set in stone is inevitable.
- sgarland 2y ago> Just to find how to do anything in Python I need to look at sites like stackoverflow Huh? Surely you don’t expect docs to answer generic questions like, “how do I flatten a nested list?” Pandas (and Polars!) is an excellent library that serves specific needs. One of those is not doing basic file parsing. I’ve seen comments advocating its usage for tasks as simple as “read a CSV file in and get the Nth column.” The same goes for NumPy – powerful library that’s ridiculously over-used for things that are trivially solvable by stdlib.