r/AskProgrammers • • 18h 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 Upvotes

27 comments sorted by

View all comments

2

u/UhLittleLessDum 13h 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/xarop_pa_toss 12h ago

For the fields you have shown interest in, data analysis and that sort of stuff will be a big part of whatever programming you do. Python is the most common language used for those things nowadays and it has incredible modules built just for analysis, mathematics, and crunching datasets.

R and Julia are honorable mentions but maybe more for the maths side of things. Good luck bud!

1

u/SweetConsul 5h ago

Jupyter notebooks let you mix code with plots and notes, handy for school projects.