Muratori: Hiding code details leaves outside programmers powerless
Casey Muratori argues that hiding code details is a lie that leaves outside developers powerless to fix problems the original creator did not foresee.
▶ Watch at 1:46
Sep 20, 2024
Casey Muratori
Professional programmer Casey Muratori discusses his career without university, the flaws of object-oriented programming, the benefits of data-oriented design, and why physical conferences are outdated.
Casey Muratori argues that hiding code details is a lie that leaves outside developers powerless to fix problems the original creator did not foresee.
▶ Watch at 1:46Casey Muratori explains that the best software libraries give users maximum power and flexibility by openly sharing stable data alongside fast routines to process it.
▶ Watch at 38:08Casey Muratori believes programming language features should only be used when they clearly save code or improve readability, noting that almost all C++ features fail that test except for math operator overloading.
Language features should be used only when they provide a clear, provable benefit, such as saving code or improving readability.
Physical conferences are an inefficient, expensive, and exclusionary model for education that primarily benefits a privileged few, whereas accessible online content can reach a much larger global audience.
▶ Watch at 1:42:08Wookash Podcast describes a successful building process as an early experimental phase to find a solid working approach, followed by a direct march to apply it across the product.
Wookash Podcast notes that success comes from managers who set a clear big-picture goal but trust the developer to pick the best way to build it, allowing complete rewrites.
Wookash Podcast claims that widespread use of game engines like Unity and Unreal has reduced gameplay creativity by pushing developers toward making the types of games those tools are designed for.
“The whole paradigm is a lie. The lie is that if something's object-oriented, it will be easier for someone else to integrate because it's all encapsulated.”
“Your goal is not to hide everything. It's for you to do the work up front to figure out what you can promise, and then promise that. That is what makes a library good.”
“Is this the future of education? A conference is just a bad thing. It's just another way that poor people don't get to experience something.”
“I didn't go to university.”
“It's very easy to unlearn these bad habits. Just stop thinking about X and you're good.”
Casey Muratori claims that ninety nine percent of features in the C plus plus programming language are not useful, and that a core rule of modern software is actually a lie. In this episode from September 20, 2024, Muratori shares his non traditional, self taught path into professional programming right after high school without attending university. By the end, you will learn how to build flexible software libraries, ditch unhelpful coding habits, and rethink how we share knowledge.
Why hiding your code leaves other developers powerless.
Muratori calls this whole paradigm a lie when it comes to building code libraries for other people to integrate. Think of it like buying a car with the hood welded shut. If the creator did not foresee a specific problem you run into, you are rendered completely powerless to fix it yourself.
That frustration leads directly to a better way to build software: exposing your data to give users maximum power.
Instead of locking everything away, Muratori advocates for a data oriented design philosophy. The ideal library exposes well defined, stable data structures and then provides optimized routines that operate on that data.
How ignoring ninety nine percent of a programming language can improve your code.
Software languages come packed with tools, yet Muratori concludes that ninety nine percent of C plus plus features are not useful. He argues that a feature should only be used when it provides a clear, provable benefit, like saving code or improving readability, noting that operator overloading is a notable exception for math code.
The two step rhythm behind a successful development process.
Instead, a successful development process starts with an initial experimental phase just to find a solid working paradigm. Once that foundation is proven, the work shifts into a direct march to apply that paradigm across the entire product.
That kind of exploration only works when you have the right management style: setting a clear goal and getting out of the way.
Success is fostered when management sets a clear high level goal, but trusts the developer to determine the best implementation. That trust means allowing space for constant iteration and even complete rewrites when an early idea does not pan out.
Why physical tech conferences are an outdated way to learn.
Turning to how programmers share knowledge, the conversation looks at the origins of the Handmade Hero stream and critiques physical conferences as an inefficient, expensive, and exclusionary model for education. Muratori asks if this is really the future of education, pointing out that a conference is just another way that poor people do not get to experience something, benefiting a privileged few while accessible online content can reach a much larger global audience.
How popular game engines are making video games feel the same.
Today, there is widespread use of pre built game engines like Unity and Unreal. That reliance has led to a decline in mechanical creativity across the industry. Because these tools are designed for specific styles of play, developers are subtly pushed toward making only the types of games the engines were built to handle.
Moving away from flawed habits does not require learning a complex new system, just consciously deciding to stop applying old, unhelpful patterns. Just stop thinking about X and you are good.
Wookash Podcast
Wookash Podcast
Wookash Podcast
Wookash Podcast
Wookash Podcast
Wookash Podcast
The Pragmatic Engineer
The Pragmatic Engineer
The Dev Leader Podcast
The Dev Leader Podcast
The Dev Leader Podcast
Syntax
Lenny's Podcast: Product | Career | Growth
Lenny's Podcast: Product | Career | Growth