r/C_Programming • u/Low_Contribution6240 • Jul 20 '26
Discussion Suggestion
Hi all I am beginner in coding. So I have college in 20days (1st year btech) should I learn python or c. In college they start with C. So as they teach C in college should I learn python seperate or go with
C.Pls suggest me
0
Upvotes
6
u/uubz Jul 20 '26
What do you think we'll say?
2
u/Scared_Equipment5777 Jul 20 '26
The last thing to do is manage two languages. Start with one and stay with it. Hopping languages sucks and ruins learning. I know this from experience, I first wanted games with C#, then the web with Java, then I wanted to do Python and then I got completely burnt out and left programming until I got the urge again and did just one to really learn it (which is C). I think you should do C, but Im biased.
1
u/junipyr-lilak Jul 20 '26
If you know no programming languages I would suggest you just stick with C in the beginning and eventually bring Python into your education. You could learn both at the same time but until you're thinking better in terms of programming in general having the two very different languages occupying your learning at the same time can make it harder to focus in on one, especially if you're learning C in classes and Python on your own time, as things like their basic syntax differs and they have different language features. Learning both, or at least more than one language, is still important because it will expose you to how different things are structured and make you a better programmer all around. Just take time first to get some sort of fundamentals in one language is my suggestion.
1
u/IamStupid42069 Jul 20 '26 edited Jul 20 '26
you need to just pick one and start writing toy projects with the language (there are merits to either choice, the important thing is that you pick one and stick to it until you've learned it at a deep level). If you choose C, make simple 2d programs using RayLib. If you choose python, do the same thing with PyGame. Getting good takes years. Become obsessed with what you're building.
1
u/spellstrike Jul 20 '26
python will probably have more jobs and more widely used across more companies but C will give you a better understanding of how hardware works in many ways.
learn both.
1
u/SmokeMuch7356 Jul 20 '26
This shouldn't even be a question - if your classes are going to be in C, then the most obvious course of action would be to learn how to work with C - not so much the language itself (you're not going to learn a whole lot on your own in 20 days), but how to set up a development environment for C, how to run the compiler (and possibly the debugger), etc.
Do you know what environment they're going to be using? VSCode? Visual Studio?
nano+gccon the command line? Turbo C (=shudder=)?Python and C are different enough from each other that trying to learn both (especially as a beginner) is just going to slow you down. Once you have a handle on basic programming concepts independent of any language (this is a loop, this is a subroutine, this is a type), then you can start playing with other languages without getting too bogged down.
3
u/gm310509 Jul 20 '26
If your college starts with C, I would start learning C.
No point risking confusing yourself by be a beginner at two different things.
1
u/cdtrmnbaell Jul 23 '26
If the college starts with C, they have a reason!
You can also learn C and Python at the same time. Try to build real projects with C, not just complete school assignments.
0
u/defaultguy_001 Jul 20 '26
Learn C, after about a month programming with C, start with Python.
4
u/[deleted] Jul 20 '26
[removed] — view removed comment
1
u/[deleted] Jul 20 '26
[removed] — view removed comment