2min chapter

Lex Fridman Podcast cover image

Bjarne Stroustrup: C++

Lex Fridman Podcast

CHAPTER

C++ 11 - Constructors and Destructor Pairs

There's a lot of features at the birth of C++ that were amazing and ideas with concepts in 2020. But to you, what is the most beautiful feature? I have written two papers for the History of Programming Languages Conference which basically asked me such questions. And there is one clear answer, constructors and destructors. The way a constructor can establish the environment for the use of the of its hype for an object and the destructor that cleans up any messes at the end of it are key to C ++. That's why we don't have to use garbage collection. It's also the best example of why I shouldn't be in advertising.

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