Published Aug 20, 2019

The Pragmatic Programmer - How to use Exceptions

Delve into the strategic use of exceptions in programming with Joe Zack, Michael Outlaw, and Alan Underwood as they emphasize deliberate coding, clear documentation, and the transition to Kotlin, highlighting crucial error-handling strategies and avoiding programming by coincidence.
Episode Highlights
Coding Blocks logo

Popular Clips

Episode Highlights

  • Kotlin Transition

    Transitioning to Kotlin from other programming languages can be both smooth and challenging. shares his experience, noting that while the transition was generally easy, certain aspects like generics and companion classes presented some difficulties 1. He emphasizes the importance of learning Kotlin from the ground up to avoid missing critical differences. offers practical tips for integrating Kotlin using IntelliJ, highlighting the ease of converting Java code to Kotlin and the benefits of a more pleasant coding experience 2.

       

    Lessons Learned

    Learning from mistakes is a crucial part of programming. compares programming errors to learning to skate, where overconfidence can lead to falls, but these mistakes are essential for mastery 3. He advises against programming by coincidence, urging developers to understand their code thoroughly. and Alan discuss challenges like integration points and undocumented code, which can lead to unexpected failures when assumptions are made 4.

Related Episodes