Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to start (self-)learning C, or should I learn a different language? [closed]

Tags:

c

Lately, I discover more and more that it's good to have extensive knowledge of programming fundamentals. Sadly, I am (one of the many) self-taught PHP developers and have no regrets choosing that path.

However, I still think I should extend my knowledge to some "real" programming languages starting from zero and build up my knowledge from there. I have no intention of changing my career path, but I do think it would be good to think out of the web-development box.

I prefer not taking classes or courses, because I simply do not have the time for this. So:

  • What is the best way to teach myself C step by step, starting from level zero?

  • As my main goal is to learn more programming fundamentals, is C even a good choice for this?

  • If not, what language would be?


Summary so far:

First of all, thanks for all the great responses. These will be quite helpful. Although most people seem to agree that starting off with C is not a bad choice, I have also seen people state that it is probably a better idea to skip C and go with C++ or even C#, since these languages are more current.

My personal opinion is still that it would be good to start from level zero, even if the language itself is not directly contributive to the things I make. I still believe it will indirectly make me a better programmer. But then again, like said, my knowledge of these languages is quite limited, so I'd love to hear your thoughts on the matter aswell.

like image 786
Aron Rotteveel Avatar asked Jan 19 '09 10:01

Aron Rotteveel


People also ask

Which language should I learn first C or C?

While C is one of the more difficult languages to learn, it's still an excellent first language pick up because almost all programming languages are implemented in it. This means that once you learn C, it'll be simple to learn more languages like C++ and C#.

Is it necessary to learn C before any language?

No it is not necessary you can learn any programming languages before learning C language. You can start learning with object oriented programming languages like java/C++.

Does learning C help with other languages?

C is the foundation that most other languages and programming language creators have built other languages on top of C, including Python, Ruby, JavaScript, and C++. By knowing C, you are setting yourself up for success in understanding other programming languages widely used in the industry.


1 Answers

Read Kernighan and Ritchie "The C Programming Language". It is the classic.

It is the book written by the original creators of the language. It is short, and very readable and well written.

like image 179
Nick Fortescue Avatar answered Sep 21 '22 14:09

Nick Fortescue