The Boy Scout Rule is the simple rule that can solve a huge problem of software development within a team. It states: "Always leave the campground cleaner than you found it". Sounds pretty simple, right? But, despite its' simplicity, not every developer follows this rule (me neither sometimes). Sometimes, it's just kinda hard to take responsibility for someone else's code. I tell myself: "If someone else made that mess, why I should even work with it?". But undoubtedly, it's way better for everyone to take care of the code you working on with a team. All the same, we are programming in the high-level languages and those were made for people who work with machines, not the machines themselves. What is clean code? To keep the code clean you obviously should know what clean code is and what it takes to write one. Let's formulate some qualities of the clean code. 1. Clean code is focused. You don't want your methods to consist of various blocks o...