Clean code #5 - Why code formatting is important!

preview_player
Показать описание
Welcome to Episode 5 of the Clean Code Series on 100GB! In this video, I delve into the importance of code formatting and its significant impact on the readability, maintainability, and long-term cost of software development. Join me as I explore the chapter on "Formatting Code" from Robert C. Martin's influential book, Clean Code.

I demonstrate the stark contrasts between poorly and well-formatted code, highlighting the need for professionalism and readability in your codebase.

The video covers both vertical and horizontal formatting techniques. In the vertical formatting section, we discuss concepts such as the newspaper metaphor, vertical openness, density, and the importance of arranging methods based on conceptual affinity. Moving on to horizontal formatting, we explore line width, horizontal openness and density, alignment, and indentation practices.

Additionally, I touch upon the crucial aspect of maintaining consistent formatting rules within a development team. I highlight the benefits of adopting a style guide from reputable open-source projects and utilizing linters and static analyzers to ensure codebase consistency.

Join me on this enlightening journey to enhance your code sense and master the art of writing clean and maintainable software. Share your thoughts and learning experiences in the comment section.

#cleancode #CodeFormatting #SoftwareDevelopment

Links:

-----------------------------------------------------------------------------------
Got questions? Reach out to me here:

--------------------------------------------------------------
My Setup details (In the US):

--------------------------------------------------------------
Setup details:

On My Desk:
Keyboard-2 : HyperX RGB Cherry MX Blue Elite (₹13000):
I bought this as a renewed one and costed me ₹8000.

Wire Management
Рекомендации по теме
Комментарии
Автор

11:59 "The purpose of this course is to develop codesense in engineers who are early on in their careers." Meanwhile me watching it in 2nd year !!

satyamjha
Автор

hello bhaiya, whcih branch to choose in btech cs or ai in the current situation for better future scope, i have equal interest in both

kingtechnicalbros