git commit -m "That is some pretty pedantic nonsense, linter." ^^ You know it's been one of those sorts of mornings when you're anthropomorphizing particular pieces of software and hate his guts.
-
-
One of best cultural hacks I've ever heard of for pull reviews is that you're allowed to make stylistic arguments ONLY by PRs against the linter; style that passes the linter is Officially Good Company Style. Style that doesn't breaks the build. Neither requires comments on PRs.
Show this thread -
I also think that any language ever developed in the future which doesn't ship with the equivalent of "go fmt" is missing one of the smartest innovations in the history of programming management.
Show this thread -
You can write "go fmt" in any language but the genius of "go fmt" is that it creates a Schelling point for the community: "Good go code is unmodified by go fmt; you should expect *functionally no* code samples, OSS code, or libraries to disagree with The One True Nitpicker."
Show this thread -
(The other genius is that it is fast enough to run on basically every keystroke.)
Show this thread
End of conversation
New conversation -
-
-
Linters shouldn't care about formatting. Automatic formatting tools should handle that. If you can
% fix the format without changing the semantics of the code, do it. Don't tell me to do it.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.