Clean Code - Formatting Matters

Topics covered
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
Clean Code - How to Write Amazing Functions
Answers 383 questions

Clean Code - Comments Are Lies
Answers 383 questions

Clean Code - How to Write Classes the Right Way
Answers 383 questionsHow to be a Programmer
Answers 383 questions

Clean Code - How to Build Maintainable Systems
Answers 383 questions
Tackling Tough Developer Questions
Answers 383 questionsClean Code - Writing Meaningful Names
Answers 383 questions

Google’s Engineering Practices – Code Review Standards
Answers 383 questions86. Lightning Talks
Answers 383 questions

Clean Architecture - Are Microservices Truly Decoupled?
Answers 383 questions

Clean Architecture - Programming Paradigms
Answers 383 questionsHow to be an Advanced Programmer
Answers 383 questionsHow to be an Intermediate Programmer
Answers 383 questionsJavascript Promises and Beyond
Answers 383 questions

Google's Engineering Practices - What to Look for in a Code Review
Answers 383 questions
