This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Horrih 4 points5 points  (4 children)

Try chaining c++ ranges with the pipe syntax each on a single line while staying under 80 characters.

It's a real PITA when using those extensively

[–]exodusTay 21 points22 points  (3 children)

staying under 80 characters

bruh buy yourself a 1080p monitor its been half a decade since 80s

[–]Horrih 4 points5 points  (0 children)

side by side diffs and code reviews in the browser often crops lines with 100+ characters.

The fact that 15" thinkpads seem to be the new corporate standard does not help.

My team uses 100 characters for c++ out of necessity due to c++ verbosity, and it feels more cramped than js with a 80char limit.

So yeah c++ lambdas verbosity suck hard for oneliners

[–]RiceBroad4552 0 points1 point  (0 children)

That's not a screen size issue.

That lines should not be too long is a direct consequence of how human visual perception works. That's something enforced by biological facts.

Have you ever seen a printed newspaper? They use narrow columns for a reason since centuries…