How I program C

Channel:Eskil Steenberg · Length:2:11:32 · Published:2016-11-21 · Views:1046926

Watch on YouTube

Summary

Eskil Steenberg's two-hour talk on his personal approach to writing C, covering code style, structure, naming, pointers and large-project organization. He warns it contains a fair bit of programming religion.

Why HN recommends it

HN recommends it as the one long programming video worth watching, a provocative and influential take on C.

the only 2 hour YouTube video I'll ever recommend — HN, 2022

C, C++, Rust, Go & systems languages · Software architecture & design

Subtitles (excerpt)

I'm going to give a talk that I gave in Seattle a couple of weeks ago and it's about uh C programming so this uh will be archived yes um and um I'm going to talk about like how I program and my style of programming and um this is kind of an advanced talk um it is about Advanced C programming on the other hand it's kind of made for people who don't program see so if you are a programmer that program you know another language you probably sort of superficially know c um you know that it's that language that has pointers and um it works like all the other languages except it doesn't have a bunch of stuff um and therefore uh it's harder uh and it's evil um most people have learned C at some point but since most people aren't actually programming in c they're using Java or some higher level language um they don't actually know how to make something Inc like how do you build a real application so that is what I'm going to be talking about um so I think C is the greatest language I don't think that c is a perfect language um but I think uh the reason why it's a language that is um 40 plus years old and still haven't been beaten is because people who design languages uh try to do things that I think

On Hacker News

[LINK] If you have lots of time: [LINK] If you can't be bothered reading a whole book: [LINK] Exercises: [LINK] and [LINK] Once you have syntax and basic algorithms down well, watch this, the only 2 hour YouTube video I'll ever recommend: [VIDEO] Both r/cprogramming and r/C_programming are active, also full of lazy students trying to get people to do their homework. If you come by, describe your … — suprjami, 2022-12
> Once you have syntax and basic algorithms down well, watch this, the only 2 hour YouTube video I'll ever recommend: > [VIDEO] Hard +1 on this! I think Eskil Steenberg work in C is really top notch - the video is heavily recommended, as is an overview of his work in general, he does some awesome stuff with C. — MonkeyClub, 2022-12
Hi Eskil from Australia :-) I remember you posted that on the page from 40 days ago also hehe. I have too many ideas myself already, so that one wasn't so useful to me, but was interesting. However, I really liked Drama in games [0] and I seriously loved How I Program C [1]. It's been a big influence. Thank you! [0] [LINK] [1] [VIDEO] — yesenadam, 2021-02
Other resources I like: - Eskil Steenberg’s “How I program C” ( [VIDEO] ). Long and definitely a bit controversial in parts, but I find myself agreeing with most of it. - CoreFoundation’s create rule ( [LINK] ). I’m definitely biased but I strongly prefer this to OP’s “you declare it you free it” rule. — breckinloggins, 2025-12
The author's defense of C reminds me of this classic youtube video: [VIDEO] ... I am sure the video above will cause immediate disagreement (I think it goes too far on some topics), but I urge people to consider the ideas contained within. (I seem to have mis-posted this to another thread?) — ykonstant, 2025-06

Related videos