DeepRead
Cover of Learn C the hard way

Learn C the hard way

Zed Shaw · 2015

Programming and computer science › C and C++

#233 most recommended

About the book

A beginner's course in the C programming language, organised as a sequence of short exercises that each add a concept, from basic syntax and functions through pointers, memory, strings and structs. It also covers the tools that surround C work, such as compilers, makefiles, debuggers, and memory-checking tools like Valgrind. Programming is learned by typing code yourself, running it, and fixing what breaks, rather than by reading about it. The book holds that real competence in C also depends on habits beyond syntax, such as paying attention to compiler warnings, building with make, debugging systematically, and writing defensive code that checks its own assumptions. Its stated approach is to introduce these practices early instead of leaving them for later.

Written by Claude from what it knows of this book.

What Hacker News says 50% recommend · 13% critical

0204020102015202020252012 peak · 25
This bookAverage book in C and C++

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 21 want to read
  • 4 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2015
ISBN
9780321884923
Editions known
6 at Open Library
Open Library
OL20011395W

C (Computer program language)Problems, exercisesProgramming languages (electronic computers)

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Learn Python the Hard Way
    Zed Shaw · 2011 · recommended by 246 people · 8 people recommended both
  • 21st Century C
    Ben Klemens · 2012 · recommended by 42 people · named together in 4 comments
  • Build Your Own Lisp
    Mr Daniel Holden · 2014 · recommended by 23 people · named together in 3 comments
  • Dive into Python
    Mark Pilgrim · 2004 · recommended by 94 people · named together in 3 comments
  • On LISP
    Paul Graham · 1993 · recommended by 192 people · 6 people recommended both
  • C++ primer plus
    Stephen Prata · 1995 · recommended by 12 people · similar by subject and what people say about it
  • The C Programming Language
    Brian W. Kernighan · 1978 · recommended by 246 people · 4 people recommended both
  • Write Great Code
    Randall Hyde · 2004 · recommended by 16 people · 2 people recommended both
  • How to Design Programs
    Matthias Felleisen · 2001 · recommended by 277 people · 5 people recommended both
  • Introduction to Algorithms
    Thomas H. Cormen · 1990 · recommended by 274 people · 3 people recommended both
  • C, a reference manual
    Samuel P. Harbison · 1984 · recommended by 30 people · 3 people recommended both
  • C interfaces and implementations
    David R. Hanson · 1996 · recommended by 46 people · 2 people recommended both
  • The Standard C Library
    P. J. Plauger · 1991 · recommended by 17 people · similar by subject and what people say about it
  • A Tour of C++
    Bjarne Stroustrup · 2013 · recommended by 65 people · similar by subject and what people say about it
  • Algorithms in a nutshell
    George T. Heineman · 2008 · recommended by 12 people · similar by subject and what people say about it
  • Learn You a Haskell for Great Good!
    Miran Lipovača · 2011 · recommended by 237 people · similar by subject and what people say about it
  • Clean Code
    Robert C. Martin · 2008 · recommended by 298 people · similar by subject and what people say about it
  • Coding the Matrix
    Philip N. Klein · 2013 · recommended by 31 people · similar by subject and what people say about it
  • The Nature of Code
    Daniel Shiffman · 2012 · recommended by 73 people · similar by subject and what people say about it
  • The clean coder
    Robert C. Martin · 2011 · recommended by 53 people · similar by subject and what people say about it
  • Accelerated C++
    Andrew Koenig · 2000 · recommended by 47 people · similar by subject and what people say about it
  • Effective C++
    Scott Meyers · 1991 · recommended by 112 people · similar by subject and what people say about it
  • Elements of programming
    Alexander A. Stepanov · 2009 · recommended by 31 people · similar by subject and what people say about it
  • Modern C
    Jens Gustedt · 2019 · recommended by 37 people · similar by subject and what people say about it