r/AskProgrammers • u/Soggy-Role5512 • 2d ago
Which programming language(s) should a high schooler learn?
I am a high school sophomore (currently taking AP Precalculus/Biology/Chemistry/Literature and plan to take AP Calculus AB/Physics 1/Spanish/US History/Language in the junior year). I only know how to block coding in scratch and VEX. I learned HTML/CSS many years ago when I was in elementary school but I don't remember anything.
I plan to go to medical school eventually but I am trying to figure out what undergrad majors I should consider. Among those, two of them are biomedical engineering and chemical engineering which I am told would be helpful to know some programming languages (e.g. Python, Java, etc.). At the same time, I am also told that I might not need it due to the advancement of AI.
With or without AI advancement, what would be the proper programming language courses/pathway I should take OUTSIDE OF SCHOOL (I don't have open block to take CS courses unfortunately)? If it's more than one language or course, what would be the sequence for someone as a beginner?
Edit: Thank you so much for all the suggestions! Sounds like I should start with Python and maybe R later.
View all comments
1
u/FortyThousandBees 1d ago
The only languages you should go out of your way to learn IMO are Rust and Python and, optionally, RISC-V. Java is enterprise legacy, JavaScript is a conceptual mess (go to any CS meme page to find out why), and C and C++, while important for many enterprise systems today, are also legacy and a conceptual subset of Rust.
More important than any particular language (since those are just specific tools we use to get stuff done) would be to learn systems: if you want to really understand computers, computer organization, OS, computer networks, and, if you like theory, programming language theory are the things you should focus on. Lmk if you want book recs!
Once you have the fundamentals, any particular tool becomes incredibly easy to pick up, because it's really just applying some subset of a template you've already learned, which is why I recommend that over just learning languages over and over.