News for hackers. Stuff that matters.
Re:Software Engineering at Google (2020) [pdf] by bjackman on Wednesday May 04, 2022 @04:42AM (#31258110)
FWIW, a counterpoint: I work in C++ (80) and Go (no line length limit) at Google and I barely even think about it. I just write code however feels natural and then run 'hg fix' before sending for review.

I would definitely not impose 80 if it were my choice but it really doesn't bother me when clang-format is set up as nicely as it is.

Probably Python should switch to the Go model, since auto-splitting python lines sounds tricky.

Re:Software Engineering at Google (2020) [pdf] by bpicolo on Wednesday May 04, 2022 @06:35AM (#31258648)
Black’s model for Python is great. It has a default limit of 88 but will go over that up to 10% if the formatting makes more sense that way.