Published Nov 29, 2016

Clean Code - Formatting Matters

    Dive into the importance of clean code formatting as the hosts explore horizontal and vertical strategies, debate coding standards, and highlight tools that enhance debugging and code quality, all while engaging with the passionate developer community.
    Episode Highlights
    Coding Blocks logo

    Popular Clips

    Episode Highlights

    • Best Practices

      The hosts emphasize the importance of adhering to coding best practices, particularly in code formatting. Joe Zack advises against placing semicolons at the end of while statements, as it can lead to confusion and errors. Michael Outlaw agrees, stressing the need for clear and consistent formatting to avoid misunderstandings.

      Follow the team's formatting rules. Don't go vigilante.

      --- Joe Zack

      They also discuss the significance of defining control variables within loops to maintain clarity and prevent variable conflicts 1.

         

      Coding Debates

      The hosts engage in debates on coding standards, showcasing their differing viewpoints. Michael Outlaw and Joe Zack discuss the pros and cons of placing stickers on laptops, using it as a metaphor for coding preferences. Alan Underwood argues for the necessity of declaring variables clearly, while Joe Zack highlights the flexibility of JavaScript in handling multiple variables.

      If you've got so many variables to cut at the top there, that's distracting, then maybe your function is doing too much.

      --- Alan Underwood

      These debates illustrate the subjective nature of coding practices and the importance of team consensus 2 3.

    Related Episodes