What programming language should I learn for the future? By the way I want this to be helpful for the future.
Posted by Mother-Resident9889@reddit | learnprogramming | View on Reddit | 16 comments
I am a middle school student and I want to start learning how to code. What is the nest language to learn. I want this to be helpful for my future. Thank you for taking your time to read this!
0x14f@reddit
You want to learn programming, not a programming language.
General_Rip5872@reddit
Explain yourself
0x14f@reddit
u/esplonky did a great job with their answer to you already but I have another poetic way to put it: programming languages are for programming, what telescopes are for astronomy.
What OP actually wants is learning astronomy, but they are too young and/or inexperienced to realise that they then need to study astronomy, not the device astronomers sometimes use.
azac24@reddit
So basically think of programing as a handyman and programing languages as the tool the handyman uses. Let's say you hire said handyman to redo your bathroom and you walk in to the handyman trying to use a screwdriver to hammer in a nail. You talk to the guy and turns out he only knows how to use a screwdriver and swears it's the best tool for every job. You would, understandably, assume that guy is an idiot who has no idea what he is talking about because that guy doesn't understand the fundamentals of redoing a bathroom. Same thing with programing. Think of languages as tools because different languages have different strengths and weaknesses. Take Java and c++. Java's strength is you basically write the code once and it "runs" everywhere because it's effectively running in a VM. So if you are writing code for a problem that doesn't really care about speed and you really don't know what type of system it is going to be running on Java might be a good option for that problem. But let's say you actually do care about speed and memory management to an extent then you would go with something like c++. C++ let's you manage memory and offers things such as pointers and references so instead of just copying a variable (slow) you can tell the program where to look in memory for that value (fast). But you also have to understand that if you change the value at that memory address it changes the value everywhere, so it's a different beast than Java. C++ also does not run in a VM so you have to compile it on every computer you want to run the program on.
That's why understanding why to use a language and programming fundamentals is more important than learning a language. Fundamentals also transfer between different languages so it helps you learn new languages more quickly as well.
esplonky@reddit
You can learn to fix a few things in a machine if you learn how to fix a few things in a machine.
You can fix just about anything, or even build an entirely new machine if you learn how the machine works.
KualaLJ@reddit
Understand how C and Python work but more importantly learn how to prompt an AI based on that understanding.
You won’t be writing code in the future, you will be promoting it.
Thausale@reddit
Idk about this, i'd suggest still learning what code does instead of just letting ai makr code that you dont understand.
KualaLJ@reddit
That is exactly what I just said!
Thausale@reddit
Ooh right, yeah quickly reading it i misunderstood haha, but yeah, dont ship any code you dont understand! Happy we agree
KualaLJ@reddit
It’s not AI hallucinating here!
Possibly the most ironic response I’ve ever seen on Reddit
Different-Bus8023@reddit
Programming is a very dynamic field specifics like language and syntax will just continue to change you want to focus on fundementals. I would recommend you learn python as it is used in many fields so you have a lot of freedom exploration wise.
For reference python can be used for back end(server side logic for a website) as well as data science, machine learning game design etc. IT is a huge field with many moving parts you will have to choose to specialize in some.
I would also recommend once you have a firm grasp on python. (You understand and can implement classes know a couple libraries know, have managed a "big" project or 2[could be snake or a similar game] ).
You try Harvard CS 50 course (just following along the videos i mean and working on practice problems it is all available online).
SumDoodWiddaName@reddit
It's hard to say what language will be valuable in "the future," but I'd suggest Python if you're interested in AI and machine learning, or JavaScript if you want to build things on the web. Either one is beginner friendly, and you'll have fun learning. It'll give you an excellent foundation, and when you're ready to progress to a "harder" language, you'll have a great grasp of the fundamentals.
It's awesome that you're thinking about this at your age. Don't think too much, though. Pick one and get started. Have fun. Experiment. Don't put too much pressure on yourself.
spinwizard69@reddit
If you want to be prepared for the future you learn computer science not a language. In all likelihood, in the future we will be using AI in conjunction with language that doesn't match anything known today.
As for the near term, the language you will end up using will be dictated by your employer, it doesn't matter what you learned in college.
Dysax@reddit
Python
bigsmokaaaa@reddit
Learn any programming language you want. Then learn rust
bobo76565657@reddit
If you want a future in programming you're going to need to get used to learning new languaged. There is no language that is going to last forever. With the possible exception of C.