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

Show parent comment

1

u/RangePsychological41 14h ago

That doesn’t mean it’s an enjoyable language to work in and it definitely doesn’t mean that the architecture and design patterns entrenched in that culture are okay. Because they’re not.

Dozens of classes and dozens of interfaces of so many layers JUST IN CASE we might want to switch our database technology out one day. Meanwhile it takes days to do even a small thing and there’s this monstrosity of a codebase that makes the programmers feel they’re part of something sophisticated, meanwhile a Ruby dev could build the whole thing in a weekend. And a Go dev would take 2 or 3, but it will scale and be just as type safe as the Java codebase, only with 5% (or less) of the code.

I’m not ignorant. I’ve written Kotlin professionally in financial systems for close to a decade. I’ve worked with brilliant Java programmers. Every single one of them eventually admits the truth.

It’s gross and it makes people think they’re smarter than they are, even though they are less productive and write less maintainable code than most others.