Writing Rules to Disregard
theparisreview.org
theparisreview.org
Usually when I see someone strictly adhering to those rules (particularly not ending a sentence with a preposition), it sets of a warning flag that the writer is trying too hard to follow imaginary rules, and maybe isn't someone whose opinion I want to take much stock in.
Recommended function/class/file size, when to abstract vs when to copy, even size/names of function arguments.
There are "rules" about all of these, but the best codebases have tons and tons of violations. Not because they are bad, but because the devs working on it know when to break those rules, and know that they are mostly guidelines.
Maybe... Don't use goto to jump to the middle of a different block of code? I don't know any exception to this one, but it's also prohibited on all modern languages, so I don't think it's a "coding rule" anymore.
"If a rule prevents you from improving or maintaining Wikipedia, ignore it."
https://en.wikipedia.org/wiki/Wikipedia:Ignore_all_rules
Some explanation of what it's meant to mean, with a selection of quotes about breaking rules:
https://en.wikipedia.org/wiki/Wikipedia:What_%22Ignore_all_r...
I really like that page - so well-written. "Use common sense. ...There is no common sense." In fact, the wikipedia pages about rules are much better written and more enjoyable to read than the average article is - which seems odd, but I guess is how it should be. There are a lot of very funny pages about the rules.[0] Many essays, on every aspect of wikipedia, here:
https://en.wikipedia.org/wiki/Wikipedia:Essay_directory
(A lot of the titles and short explanations on that page are fascinating/funny, a great intro to wikipedia culture...as it should be.)
[0] e.g. https://en.wikipedia.org/wiki/Wikipedia:Essay_directory#Humo...