I’m asking this question because I haven’t mastered a singular language completely. I know MOST of HTML/CSS and I’ve picked up little things from Node.js and stuff. I want to completely master a language (not HTML/CSS).
I think the best language should be
versatile (It can start a web server, or it can have CLI. Or anything a versatile language can do)
easy to understand (not too hard but not too simple like Scratch code)
useful (Not too useful because if something is too useful, it’s too hard. There is no point in a language being too useless, though. This is why I don’t want to do Kaboom or something like that: making a game isn’t useful in my opinion)
somewhat readable (like a book. HTML is readable, for example.)
fast (I think a good language should be very fast (which is why I like fastify instead of express in node.js))
If it meets all (or most) of those, then that language is probably the best language to learn. I really want to know this mystery language and get good at it.
I found the best language: Python. Obviously it’s versatile, easy enough, useful, and it looks readable enough. I’ll start with Replit’s Python Tutorial.
I highly recommend you continue with node.js. Once you learn node.js, you unlock so many opportunities. The syntax is the same for node.js and web js.
You can then pick up react.js, which all big sites (including replit) use.
It is super versatile, and you can make desktop apps, mobile apps, websites, etc with js
It has simple syntax and don’t listen to people who say it has weird quirks, while it is true there are many programming practices that have beene created to help mitigate this.
It is decently readable, especially because it’s syntax is so similar to many other languages like c#, c/c++, java, etc.
I thought that C and C++ is a bad language to start with because of how darn useful it is: when I want to create a little program you need so much complex code and BTW can Linux and Mac run C and C++? I think they’re only for Windows Powershell or something.
Linux and Mac don’t run C you need to compile C into their executable files and run those.
To do that you need to get a compiler. This is why in installation pages you see install for linux, install for mac, etc
have you considered rust?
It’s a fast language compared to speeds of C/C++ but it has modern features and is similar to JS
only problem is it’s kind of for programmers who have programmed before.
Not sure where you get this. A language is not platform specific.
If speed is what you want, C and C++ are your friend as they are old (=tons of resources), easy to learn (but tricky to master) and as fast as it can get.
But again it depends. You want to do messaging and concurrent apps, look at Go.
Want to avoid memory leaks and accept a more difficult language, RUST.