It will be a terrific duel to watch. Just like the final scene in The Good, The Bad, and the Ugly , but instead of the space bar of the method instead of gold.
Honestly, this should not even matter if you do not need to constantly ponder someone’s code on your team quite often. Personally, I am all for spaces, as it gives a logical grouping. But this may not be the case for someone else. Damn, even I can change the way I group things over time. Grouped elements that previously made sense could no longer be.
No matter how we group the elements, I think grouping is very important. We can argue about why empty lines are not needed, but the fact is that the brain can only process a limited amount of information at a time. Therefore, if I can understand a function consisting of three subgroups, for example, instead of ten operators, this is of great importance. And comment grouping is subjective to your IDE. Most IDEs color them easily than the rest of the code, which gives a sense of separation, but this becomes specific to the IDE.
So, to talk about the essence, all about the grouping. If the class gets too big, we must break it for understanding and service. Similarly, if consecutive lines of code inside a method are too complicated, it must be split into several methods or logically separated by an empty blank line.
Also, if the argument is worthless, introduce some random things, such as how these blank lines relate to the Buddhist concept of non-existence bla bla ..
source share