Published Sep 3, 2019

SE-Radio Episode 357: Adam Barr on Code Quality

Adam Barr delves into the cyclical mistakes in software engineering, the intricate balance between code quality and readability, and the gaps between academic programming education and industry demands, offering insights into how historical lessons and modern innovations shape current practices.
Episode Highlights
Software Engineering Radio - the podcast for professional software developers logo

Popular Clips

Episode Highlights

  • Performance vs. Readability

    highlights the ongoing tension between performance and readability in software development. He argues that while performance gains can be immediately gratifying, they often lead to complex and less maintainable code. adds that the allure of optimization can feel like a game, tempting developers to prioritize speed over clarity 1.

    Optimization is the root of all evil. Almost all ugly code is because somebody was trying to optimize for performance.

    ---

    Barr suggests that clean code should be the default, with performance tweaks only considered when necessary 2.

       

    Code Quality Essentials

    Code quality is crucial, especially in large projects where multiple developers are involved. emphasizes that quality code should be easily modifiable and understandable, even if it passes all tests initially. He notes that disagreements often arise from subjective coding styles rather than objective measures 3.

    It's absolutely critical if the code be readable and understandable, even if the test passed, even if today it works fine for the customers.

    ---

    points out that many developers start coding in isolation, which can lead to challenges when transitioning to collaborative environments 4.

Related Episodes