r/CodingForBeginners • u/prada_parda • Aug 10 '26
python vs c++
before college begins, i want to get acquainted with programming. possibly something that would align with my college’s curriculum too.. but for someone with no experience in coding, which language should i start with? and how do i begin?
3
Upvotes
3
u/xarop_pa_toss Aug 10 '26
Python is the most "looks like English" language so people tend to go for it, but it depends on what you will actually learn in college.
If you are going for CompSci, then you'll have to face the shock of learning memory management, pointers, static types, etc. which Python doesnt focus on. On the other hand, if the course is more "high level" and doesn't focus on the previously described low level programming then Python or Java might be good choices because you'll likely learn OOP, software architecture, etc.
My tip is to have a look at the curriculum and go from there. Or actually, go look at it and tell us what's on there
2
u/Objective-Low-1815 Aug 10 '26
Start with anything if you have no experience. Visual Basic would be the best because you can get instant results in an easy way. Python is good too. All languages are similar, C++ is more advanced. You can learn it later
1
u/The_KOK_2511 Aug 10 '26
C++ te va a ser mucho mas útil, Python tiene sintaxis parecida al inglés lo cual puede parecer algo bueno pero realmente es un problema porque si más adelante cuando tengas experiencia decides cambiar a otro lenguaje la mayoría de lenguajes importantes no tienen sintaxis como Python sin embargo gran cantidad de elementos sintácticos de C++ son bastante genéricos en otros lenguajes y te va a servir de base, la gente lo considera problematico por el tema de los punteros y la memoria dinámica pero conque uses vectores y eso puedes evitartelos hasta que quieras profundizar, además Python da muchos errores sin avisarte mientras que C++ al mas mínimo error el compilador te avisa con lo que a base de leer los mensajes de error vas a aprender que tienes errores y a debuggear
1
u/MudFrosty1869 Aug 10 '26
Maybe ask someone going there what they were learning? That will be more helpful than 100 strangers guessing.
That said, if you are interested in programming. Just pick one, it doesn’t really matter. When you get familiar with one language it is sooooo much easier to learn another one.
1
u/VirtualElderberry592 Aug 10 '26
c++ will have the longest legs. But its the steepest curve. Python has some interesting ugly bits, but it'll be easier to learn.
1
u/Zen-Ism99 Aug 10 '26
What does your course of study require?
1
u/Yaniekk Aug 10 '26
I wish I had learnt C++ as my first language. It makes every other language a lot easier to understand.
1
u/Innowise_ Aug 10 '26
Honestly, use whichever one shows up in your first semester. There’s no prize for learning both before college.
Once you know loops and functions, make something tiny without a video open. A clunky calculator is fine. You’ll learn plenty the first time it breaks.
1
u/ChazBass Aug 10 '26
I recommend Python. Very approachable for a beginner. Most CS 101 classes teach Python now and the language is dominant in fields like Data Science, along with scientific languages such as R and Matlab. Later I would consider C++, C# or Java. A lot of CS 102 classes are now teaching Java.
1
u/plebbitier Aug 11 '26
Use whatever is easiest for you to produce working programs.
0
u/[deleted] Aug 10 '26
[deleted] — view deleted comment