Writing Clean Code - Part 3 (Formatting, Class & Object, Miscellaneous)
Other Parts of This Series: Part 2: Writing Clean Code - Part 2 (Name, Function, Comment) Part 4: Writing Clean Code - Part 4 (Identify Code Smells/Bad Code) Clean Code - Formatting, Class & Object, Miscellaneous (Photo Credit: Sotatek) Remember 2 things: The only measurement of your code is WTFs / Minute. That is what the readers feel when reviewing code. Linux Torvalds, the creator of the Linux operating system, says, βTalk is cheap; show me the code.β So if we connect the above 2 points, then we can easily understand that our code should be talkable and self-describing because when anyone reviews/reads our code, they should feel well and comfortable enough. ...