2min chapter

Lex Fridman Podcast cover image

#309 – John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets

Lex Fridman Podcast

CHAPTER

Having an Assert in Your Private Code Is a Good Idea

In my private code I have asserts everywhere yeah just there's something pleasant to me pleasurable to me about sort of the dictatorial rule of like this should be true at this point. In many cases picking a number some you know nice brown power of two number and setting it up in there and having an assert saying it's like hey you hit the you hit this limit you should probably think are the choices that you've made around all of this still relevant if somebody's using 10 times more than you thought they would.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode