r/AskProgrammers • u/Soggy-Role5512 • 1d 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.
2
u/CLEcoder4life 1d ago
Honestly id start with SQL/mongo. Its probably the least impacted by AI and most universally necessary. After that probably python.
2
u/UhLittleLessDum 1d ago
For you, it sounds like a pretty obvious choice: Python. It's *huge* in the academic world. There are tons of chemistry and math packages to work with. My daily workflow while publishing https://zenodo.org/records/24566638 was to use python in a repl in the terminal. Look into sympy if you want to work with symbolic math. I even published a ptpython plugin on my github if you want symbolic math working in your terminal.
1
u/stepback269 1d ago
What you should do first (before learning Python) is to "Learn how to Learn"
Go to YouTube and in the search bar, type, "learning coaches"
Pick the ones who rely on modern neuroscience (for example Dr. Justin Sung).
Godspeed and may the productivity-motivating dopamine hits be with you. :-)
1
u/DanKegel 1d ago
Find some useful biomedical open source app, then use and understand its source code. Wash, rinse, repeat. That way you'll learn which programming languages matter in your chosen field.
Likely Python, R, and C/C+ (and maybe SQL), and increasingly Go and Rust. Knowing the basics makes you a better AI user. Experienced programmers get way more out of AI than beginners do.
1
u/Key_River7180 1d ago
Learn C
1
u/PipePressurePanic 1d ago
in the recent past you needed to know the framework, not the language. Now you don't need to know the framework anymore or better, now you need to know everything and be better than the other 100s of candidates to get a job.
Perhaps go for typescript as it's used on the frontend and backend. Or pyrthon as is used in machine learning. But all this learning will lead to nothing. why learn something that AI can do better than you?
1
u/Glad_Construction_99 1d ago
If medical school is an aim - then Python for sure. And R. Most useful things for medical data analysis are done with python libraries and another part with R libraries
1
u/reality_boy 1d ago
Python is the go-to language for science and data mining these days. I would start there.
Anyone wanting to be a professional coder (in any capacity) should have a basic understanding of C/C++ because that forces you to understand the computer architecture much better. It sounds like this is not your path.
A lot of heavy lifting is done in Microsoft Excel. Having a firm understanding of that, including their Visual Basic like scripting language, is a big win. We use it extensively to prototype physics models before coding them up.
Matlab/Mathematica are big with engineers, scientists and data analysis. It is basically an adult calculator, with some scripting sprinkled on top. Wherever you end up, they will lean into excel or one of these.
1
u/FortyThousandBees 19h 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.
0
u/DTCreeperMCL6 1d ago
Java
0
u/Isthatyourfinger 1d ago
All of them.
0
u/Small_Dog_8699 1d ago
Pharo.org
0
u/RangePsychological41 1d ago
Python or Javascript.
If anyone says Java then you can safely ignore everything else they ever say again.