+ 3

Does the book "The C programming language 2nd edition" by K&R cover the whole language?

If so, in theory, after reading (and learning) that book I would have all the syntactical knowledge I'll ever need?

17th Mar 2018, 5:26 PM
Kevin Eldurson
Kevin Eldurson - avatar
9 Respuestas
+ 3
It’s a good book and it will teach you a lot. There’s no book that will teach you all of a programming language, but it’s a good start. Afterwards, you can learn specific information you need to know (like if you need something for a project) through google
17th Mar 2018, 5:37 PM
Ariela
Ariela - avatar
+ 2
@Ariela But which parts are left out from the book? If I were to learn machine language for the x86 instruction set all I'd have to learn would be <100 instructions, I wonder how many I need for C.
17th Mar 2018, 5:51 PM
Kevin Eldurson
Kevin Eldurson - avatar
+ 2
Yeah, I know, I get it but what I'm wondering about is the size of C, like in order to fully understand the language I'd have to know the language entirely otherwise I'm just using functions whose functions I know but I don't understand how they work.
17th Mar 2018, 6:07 PM
Kevin Eldurson
Kevin Eldurson - avatar
+ 2
Thank you, I'll try to look into these more in depths cause I lack knowledge on this.
17th Mar 2018, 10:32 PM
Kevin Eldurson
Kevin Eldurson - avatar
+ 1
Programming isn’t about learning individual instructions. It’s about learning how to combine them and use them in creative and efficient ways. That’s why the best way to learn is to make projects and just learn what you need for them.
17th Mar 2018, 6:03 PM
Ariela
Ariela - avatar
+ 1
@Taylor I don't get it though entirely. https://i.stack.imgur.com/VTxd0.jpg This picture shows quite some x86 instructions. How can there be thousands of these?
17th Mar 2018, 9:41 PM
Kevin Eldurson
Kevin Eldurson - avatar