Heyy, I’m learning programming and trying to choose a focus, I saw you can make web/backend w node, desktop (bloatware but discord uses it so if it works it works), games (not AAA and not optimized for performance but it shouldn’t matter for indie too much) Is there anything that compares? I wanna focus on one thing instead of spreading myself over a ton of languages, I do feel js is interesting for this, but I’m just starting out, so looking to hear some thoughts of people more familiar with programming.
The best language for starting is the language you find easiest to learn.
But Rosetta Code lists a lot of programming tasks solved in a lot of different languages. Just browse a bit and if you’re lucky you just fall in love with one of the languages. Then, difficulty doesn’t matter.There is no “most versatile programming language”. That is a myth.
The choice of a programming language for a project depends on the projects requirements. It could be a script language like Python, PHP, JS, or even Perl or Bash. Or something compiled like C, C++, Rust, or even Pascal or Prolog. It always depends on the project.
Heck, if you have to build something sticking to a COBOL or FORTRAN system, using anything else would probably a stupid idea in the first place.
So if anyone tells you “Programming language X is the one and only solution for everything”, it is more an admission of a severe lack of knowledge and experience.
While this is true, I will say there are some languages built for very specific problems that make poor tools for general use.
Trying to build a distributed web app in Matlab or Mathematica would either be a flex or a complete waste of time, for instance.
That’s what i said: the right tool for the right job.
Javascript is used everywhere, yes, but you definitely should spread your focus to other languages as a student. At minimum definitely dig into C for low level understanding and rigor, and a “real language” like C# for exposure to all the great features and paradigms in that world.
Learning more programming languages isn’t the hard part of becoming a decent programmer. You’re optimizing for the wrong thing here.
You should choose a language that works well for the specific projects you think you’re going to do in the near term. Depending on exactly what sort of projects you want to do, Python, Typescript, C++, and Rust are all languages I might recommend. I wouldn’t recommend raw Javascript for anything other than doing some tutorials before learning Typescript.
Without more information, I’d recommend Python.
While it might not be the hardest part, I do feel it is a factor, so all things being equal i think it can help to choose a good first programming language that will help out the on-boarding process.
What I’m trying to say is that you should choose the programming language that will make your learning and early projects easiest.
Learning a new language later is not hard. Trying to use the wrong tool for the task when you’re just learning is hard, and will teach you the wrong lessons.
I appreciate the tip, I might end up on python, seems interesting and fast (to write not run lol)
You can write VR games in Javascript. https://immersiveweb.dev/
Figure out how that makes you feel and you’ll have your answer on whether JS is right for you.
Traitor!!!
No. There is no one-does-it-all language. Learning Javascript will be great for webapps but most importantly it will make it easier to learn a language more suitable for making games or backends.
I would not recommend to choose JS as your first language. Yes, it is versatile, but it has many varieties, good and bad ones, and it can easily cause bad habits in your coding.
So you better choose one of the more strict languages. Maybe Kotlin. Or python, or rust.
Or good old C, as some others have suggested. C is a great teacher for good habits, because it’s outright dangerous to make certain mistakes there. But it is not so much used anymore.
seems python is super popular too, can you build nice UI’s with it? I mostly see python on AI stuff and cli
Python is a general purpose language, you can do almost anything with it, including nice UIs. But I would say it’s definitely not the first thing I would chose for heavy UI. It is generally strong in data stuff and it’s a very good language to learn programming in general. It’s not a bad choice.
Yes, there are some to choose from. Though if you want to make games you probably want to use Godot instead. It’s language, gdscript, is like python
Oh I know godot, I met the guy who made it… on grindr of all places haha
Good UIs are not made in good programming languages, but in good UI builder tools.
That’s because the UI should be somewhat separated from the logic “below”. You can still use python, no problem at all, if your UI tool supports it.
No, binary is
gatekeeping the queer community off of tech, i see how it is… only cis people allowed to code /s
There is only one gerund, ing.
“When all you have is a hammer, everything looks like a nail.”
mhmm! that’s the basic rationale i had when trying to learn one general language at the beginning, It won’t be optimal but who cares? I’d rather be able to build more mediocre things broadly than only knowing one thing. Kinda how you start out with Ryu or Ken on street fighter games even if they are in the middle of the tierlist just because they have a bit of everything on their kit
I’d imagine it’s Python. I have limited programming knowledge but like to experiment. During covid I messed with C, Javascript, Python, and even Commodore BASIC just to mess around with stuff. Python is by far the most user friendly modern language, I feel. The hardest part of Python for first time users is getting the IDE and PATH all set up.
rust is now the most versatile language. however it is not yet the most popular or easiest language
it’s pretty great tho

