4 ms·
This seems a rather broad generalization.. Style guides are certainly very useful specially when pair with auto formatting since they remove a lot of useless ar
by atorodius 4y ago
This seems a rather broad generalization.. Style guides are certainly very useful specially when pair with auto formatting since they remove a lot of useless arguing.
Sure, we can discuss whether all poiktsw make sense but it seems excessive to dismiss them entirely just because you dislike mandatory method docstrings.
- pydry 4y agoI dont think it is an overgeneralization. Whenever I see lint rules regarding comments applied the comments routinely end up being no shit sherlock comments. There probably are ways to encourage good comments but enforcing somebody write A comment, ANY comment in specific places at the point when theyre eager to merge is pretty much a recipe for shitty comments.
- cjfd 4y ago"they remove a lot of useless arguing". It is not like I have not heard this argument before. Unfortunately I have also experienced how it works out in practice. It goes more or less like this. "No, your desired change to the coding style cannot go into the formatting rules because we want to prevent useless arguing so we follow such-and-such style guide to the letter." "Actually, you are not follwing such-and-such style guide to the letter because you these formatting rules are actually not according to such-and-such style guide". "Yes, we decided to have these changes because we think they are good". Utterly despicable. So besides the useless comments I also have that experience described in the previous paragraph. And to top it all off, another 'nice' experience with style guides was being forced to used the long discredited 'hungarian notation' which at the time was already long past its expiry date with not really anyone competent believing it to be a good thing. Maybe my bad experiences are not typical but I have had so many bad experiences with style guides that I am now at the stage where I consider anyone enforcing a style guide to be my personal enemy and most likely a despicable person.