r/C_Programming • u/itskando • Aug 27 '24
What is the best way to learn C today — by way of From Nand To Tetris without programming knowledge?
Reddit's oft asked What is the best way to learn C today comes with the consistent answer from @wsppan , which includes:
ReadCode: The Hidden Language of Computer Hardware and SoftwareWatch all 41 videos ofA Crash Course in Computer ScienceTake the Build a Modern Computer from First Principles: From Nand to Tetris (Project-Centered Course)
Take the CS50: Introduction to Computer Science course.
Grab a copy of C programming: A Modern Approach and use it as your main course on C.
Follow this Tutorial On Pointers And Arrays In C
[Source]
Per Step 4: From Nand to Tetris is the first hands-on portion of the process. Projects 1-5 required no prior knowledge; however, projects 6 and 7 (and assumably some later material) call for the use of higher-level languages.
.
Question:
Can anyone specify any sub-steps of what best to learn to be able to progress further with this course, if this is the intended path? My goal was to bottom-up to C from nothing, following only these steps. [The material so far has been great.]
.
Update:
Per your comments (thank you), I'm going to jump from Step 4 to Steps 5 and 6 and come back to 4 after I know a higher level language.
2
u/Poddster Aug 28 '24 edited Oct 23 '26
I have a suspiciously similar stock answer I've been using for a few years now (with the occasional side-quest of recommending Petzold's Code whenever possible)*, but I'm always sure to point out it's about learning about computers and computer architecture, not about programming. That list won't really teach you to program, though it will help you understand what you and the computer are doing when you do the magic programming dance. In fact nand2tetris is intended as a 3rd/4th year university capstone course and students are expected to now how to program to take it.
A good way to learn C these days is CS50. It has a decent set of lectures, reading material and supporting exercises. The exercises are important as programming is a craft, and you get better at it with practice, practice, practice.
It can be quite confusing googling that because there's various paid and unpaid ways to take it. The official unpaid way is https://cs50.harvard.edu/x/ , and you can find the support sub on /r/cs50.
* Weirdly, someone commented on one of my 2 year old answers today! What a strange coincidence.