Re: Terseness and productivity in Nim vs other languages

2019-10-12 Thread kidandcat
I work mainly with JS and Go, and I can tell you I love Nim because I can copy the same program from Go to Nim and it will have like 10 times less code

Re: Terseness and productivity in Nim vs other languages

2019-10-12 Thread torarinvik
I find that it is more readable when you declare what data type it is. You don't have to comment as much, so it is more orderly IMHO. I think Python have the extreme edge on most language with all these libraries. It seem neural networks and AI in general is leaning towards python, and AI is the

Re: Terseness and productivity in Nim vs other languages

2019-10-12 Thread torarinvik
This makes perfect sense, now I have more arguments when recommending Nim to advanced programmers. Thank you for your answers. I am planning to make a tiny toy language(I have a lot of reading and practise to do). Is nimly the way to go? Are there any manuals available? Thank you for all answers

Re: Terseness and productivity in Nim vs other languages

2019-10-12 Thread federico3
A lot of people find Nim's expressiveness comparable to Python. I find static types in Nim increase productivity even over Python although the ecosystem and tooling are not that rich.

Re: Terseness and productivity in Nim vs other languages

2019-10-12 Thread Araq
IME Nim code is almost always shorter and it's easy to see why: It doesn't have lines full of `} } }`. ;-) That's hardly an objective bonus to "productivity" because syntax is simply not that important. > How compact are Nim applications? It depends on the coding style. > Can one write a Nim e

Terseness and productivity in Nim vs other languages

2019-10-12 Thread torarinvik
I have a question that I have been thinking about since I discovered Nim. How does Nim compare to other languages like C/C++, python,Java as far as productivity and terseness? How compact are Nim applications? Can one write a Nim equivalent to a C++ program in dramatically fewer lines of code? A