Hacker Blogs
Work in progress: 15,409 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #866

Z

Zed Shaw

Personal blog · c.learncodethehardway.orgprogrammingwriting

Zed Shaw writes Learn C the Hard Way, a personal blog at c.learncodethehardway.org about programming and writing. Since 2011, 78 different Hacker News readers have linked it 92 times, most often “Learn C The Hard Way A Clear & Direct Introduction To Modern C Programming”. No feed was found, so read it on the site itself.

No feed foundVisit the blog
92mentions?
78HN people?
2011–2016first – last linked?
Links on Hacker News per year · peak 19 in 2012

Most-linked posts?

  1. Learn C The Hard Way A Clear & Direct Introduction To Modern C Programming
    30 people · 31 mentions · first linked 2011-10-07
  2. Learn C The Hard Way
    11 people · 12 mentions · first linked 2011-09-01
  3. Deconstructing K&R C (2010)
    9 people · 9 mentions · first linked 2013-01-05
  4. Exercise 20: Zed's Awesome Debug Macros
    7 people · 7 mentions · first linked 2013-09-30
  5. Learn C The Hard Way
    5 people · 5 mentions · first linked 2012-07-09
  6. Zed's Awesome Debug Macros
    3 people · 3 mentions · first linked 2011-10-16
  7. Exercise 27: Creative and Defensive Programming
    3 people · 3 mentions · first linked 2013-05-24
  8. Deconstructing "K&R C"
    2 people · 2 mentions · first linked 2012-01-10
  9. Deconstructing K&R C
    2 people · 2 mentions · first linked 2012-06-11

What Hacker News says?

  1. What's your goal exactly? Depending on your goal there's a few routes. If you want to produce compelling VR experiences then I'd recommend you download Unity. You should be able to start making real, valid prototypes for different types of VR interactions in under a week. If you want to graphics then I might recommend you poke at http://humus.name/index.php?page=3D or https://github.com/bkaradzic/bgfx . But graphics…

    Comment linking /book/

    on “My time with Rails is up”
  2. Submitted Learn C The Hard Way as a story · 220 points

    HN discussion
  3. I'm in the same boat as you. I've been working through Learn C The Hard Way [1] as a way to learn some of these concepts. I've been finding it incredibly valuable/rewarding. That said, even the author of LCTHW (Zed Shaw) recommends writing in languages other than C. He specifically mentions Go, Swift, and Rust. Check out his rant on K&R C at the end of LCTHW for his thoughts on your question: http://c.learncodetheha…

    Comment linking /book/

    on “Rust for Python Programmers”
  4. Submitted Deconstructing K&R C (2010) as a story · 149 points

    HN discussion
  5. I've been enjoying Zed Shaw's Learn C the Hard Way http://c.learncodethehardway.org/book/

    Comment linking /book/

    on “The descent to C”
  6. Submitted Deconstructing K&R C Is Dead (2015) as a story · 131 points

    HN discussion
  7. I really enjoy this presentation. If you want to learn C programming from scratch I also recommend to study Zed's book "Learn C the hard way". http://c.learncodethehardway.org/book/

    Comment linking /book/

    on “Deep C”
  8. Submitted Deconstructing "K&R C" as a story · 118 points

    HN discussion
  9. A lot of people tend to recommend Zed Shaw's "Learn C The Hard Way"[0] but I would love to hear what others have to say. 0 - http://c.learncodethehardway.org/book/

    Comment linking /book/

    on “The Unreasonable Effectiveness of C (2013)”
  10. Submitted Deconstructing K&R C (2010) as a story · 49 points

    HN discussion
  11. I was wondering how this compares with or compliments K&R, when I came across [this section][1] of the book that seems to slap it in the face. Here's a section from the second paragraph: You see, "K&R C" is actually riddled with bugs and bad style. Its age is no excuse. These were bugs when they wrote the first printing, and the 42nd printing. I hadn't actually realized just how bad most of the code was in this book…

    Comment linking /book/learn-c-the-hard-waych55.html

    on “Learn C The Hard Way by Zed Shaw”
  12. Submitted Deconstructing K&R C as a story · 36 points

    HN discussion
  13. In case one does not want to spend $29, the free HTML book [1] (currently in beta) is good enough. I have been following along the book, and can vouch for it. It is a great way to learn to code in C. [1] http://c.learncodethehardway.org/book/ EDIT: By posting the link to the book, I by no means meant that the videos are redundant. I would love it if more people en-roll for Zed's Udemy course and support him.

    Comment linking /book/

    on “Learn C The Hard Way by Zed Shaw”
  14. Submitted Exercise 20: Zed's Awesome Debug Macros as a story · 18 points

    HN discussion
  15. Your question is addressed by the author at the end of the book: http://c.learncodethehardway.org/book/learn-c-the-hard-waych...

    Comment linking /book/learn-c-the-hard-waych55.html

    on “Learn C The Hard Way”
  16. Submitted Warning: Do not use an IDE as a story · 14 points

    HN discussion
  17. This calls to mind what Zed Shaw wrote about creative and defensive programmer mindsets. http://c.learncodethehardway.org/book/ex27.html

    Comment linking /book/ex27.html

    on “Too scared to write a line of code”
  18. Submitted Learn C The Hard Way as a story · 12 points

    HN discussion
  19. also suggested here http://c.learncodethehardway.org/book/ex20.html

    Comment linking /book/ex20.html

    on “Simple Dynamic Strings library for C”
  20. Submitted Zed's Awesome Debug Macros as a story · 11 points

    HN discussion
  21. This link gets posted on HN a lot but I've found it useful: http://c.learncodethehardway.org/book/

    Comment linking /book/

    on “C vs GO”
  22. Submitted LCTHW - Data Structures and Algorithms as a story · 9 points

    HN discussion
  23. I think the problem with learning C is that you need to learn stuff like make, autoconf, how the compiler + preprocessors work (what do all those flags even mean!?), how making "cross-platform" stuff works, how to pull in and use "libraries", C-isms, how to test, etc. C itself is a very small and simple language, but the tooling and patterns are old and mysterious. In college I learned how to program embedded system…

    Comment linking /book/

    on “C for high level programmers (slides)”
  24. Submitted Deconstructing ~K&R C~ as a story · 7 points

    HN discussion
  25. May I suggest that you also send them a link to Zed Shaw's "Learn C The Hard Way" online book [0], which presents lessons in modern C programming, including the use of tools like Valgrind, etc.? [0] http://c.learncodethehardway.org/book/

    Comment linking /book/

    on “C for high level programmers (slides)”
  26. Submitted Deconstructing "K&R C" as a story · 6 points

    HN discussion
  27. Thanks. I was first exposed to this in Zed's Learn C the Hard Way: http://c.learncodethehardway.org/book/ . I think it's quite handy.

    Comment linking /book/

    on “Understanding C by learning assembly”
  28. Submitted Learn C the Hard Way as a story · 5 points

    HN discussion
  29. Not exactly what you're looking for, but "Learn C The Hard Way"[0] isn't a bad tutorial... [0] http://c.learncodethehardway.org/book/

    Comment linking /book/

    on “Writing device drivers in Linux: A brief tutorial (2006)”
  30. Submitted Learning C the Hard Way - stable version as a story · 4 points

    HN discussion

Search all of HN for c.learncodethehardway.org

Linked by the same people?