DEV Community

Discussion on: Does Coding with Column Width of 80 Make Sense in 2022?

mnayeem profile image
Nayeem Rahman

Are you sure it makes it easier to scan your code? We're not built to parse nested structures like AST's horizontally, especially when we can't look at it all at the same time. I think it helps to break lines at operators of lower precedence when it comes to readability.

alexparra profile image
Alex Parra

Hi Nayeem!
I don’t mean i don’t break nested structures. I mean I don’t want to be pinned to a set length. Some lines make sense at 85 or 90 or whatever if it’s clear.
For example, I think blank lines are much more important at creating “separations” than imposing a strict line length.
And thorough indentation too.
Thanks for your reply.