What is the best language to learn?

Not true. People are scared by C because its power means you cannot get away with rubbish code like in JS and expect it will not crash eventually

1 Like

Well, I don’t think anyone should learn rust as their first programming language

Why? I think they should not learn languages creating bad habits (including python and JS)

Does that mean that Node.js is a no-go?

node.js is a framework not a language. Learn it if what you want to do is use JS for making front and back end of web apps and alike


Could you define bad habits?

Alright, so does that mean that JavaScript in general is not something I should learn?

I’m not quite sure what you mean by ‘bad habits’ what bad habits are in js and python?

I think it’s better you learn from bugs and mistakes rather than making ‘perfect code’ but not understanding fully how it works




Nim is very readable

Nim is also insanely fast, probably even a sucky designed nim program will be way faster then a very good python or js one.

1 Like
for i in range(10):
  if something is true:
if i<9:
  print("did not finish the loop")

Or letting js do magic type conversions.

a = 10
a = ["ciao", 123]

That’s Python? I understand the second, but still Python lol…

why is that a bad thing? If you are verbose about everything, it actually becomes harder to reason about code, take Java for example.

Python also bring some bad habits.
The memory leak people like to use is a bad habit as it breaks scope and also it generates serious performance issues when the for is looping large data sets by value (and you do not delete the variable after the loop)

1 Like

I do not like Java, but it is a very good first language.

Not sure what you mean here

variables are defined based on function scope, and there’s a garbage collector to destroy unused variables

deleting variables is not a ‘good habit’, wouldn’t it help with carelessness if you try to access it again after you delete it?

1 Like

in python the variable created by the for loop is NOT destroyed after the for loop. This is the memory leak and scope violation of python. It gets used … except by who used other languages and does not expect this behaviour (but the performance issue is still there)

Anyhow, I would say Java is great as first language. But I dislike it :slight_smile:


I didn’t even know that memory leak was a thing lol, that is weird, why wouldn’t they fix that?

OK, I’ll admit this: I don’t know what you all were even talking about. What I will do is not learn Python as the best language. I’ll still keep Node.js closeby though.

What do you want to do? I mean program, node’s is just javascript

Lol, that’s what I just asked!

Python: too weird and feels clunky as you guys just talked about
Java: You need some software which my Chromebook don’t do (but replit does)
JavaScript: Other than allowing mistakes to happen (which is fine IMO) I can’t think of anything
Rust: Need experience
C and C++: IMO looks waaaaaaaay too complicated and I don’t think it’s the best language
Just looking at this…

but none of them have been ruled as the BEST. If I was going to code with this and only this, then it has to be useful, right?