Ask YC: Python or C ?
https://news.ycombinator.com/item?id=324244Hi all,
I have just got out of high school and now into my first year of bachelors in computer science. I have been interested in programming since long. I started with a python about 2 months back, as I had read at a lot of places that it's best recommended for beginners. I've read a book on it and now have learnt all the basics of it. I have written a few handy scripts here and there. I have a basic idea of OOP as well. And now I was about to explore various modules in python.
But my first semester exams in college are approaching and I have an exam on C. Its just basic stuff like declarations, bits about data structures, looping, functions etc. The curriculum is really introductory. I am quite sure that I will manage by giving it a week or so.
The problem is that I don't think it is a wise idea to just study introductory C (btw it was the language I wanted to learn after python). Mainly its a personal thing, if i begin C, I would rather get deep in it than study just basics. I don't see a point in just teasing my curiosity and then moving away from it. My major area of interest is in network protocols such as TCP UDP STP and SIP.
Please give your opinions on whether I should pick up K&R and then go forward from there into C or do the bits to clear my exam and get back on python. I am aware of the fact that I can always embed C into python code.
Thanks in advance