you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 3 years ago (1 child)

Yes a strict 80 character limit would be bad but that's why modern formatters aren't strict and default to 90-100.

I've pretty much never seen code that would have been more readable had the lines been longer than that.

My main argument is still that shorter lines are more readable. I just think it's a bullshit argument to say that long lines are fine because large monitors exists. I don't see how that makes me crazy.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago

    See, I think length limits and readability are sometimes at odds. To say that you 100% believe in length limits means that you would prefer the length limit over a readable line of code in those situations.

    I agree that shorter lines are often more readable. I also think artificial limits on length are crazy. Guidelines, fine. Verbosity for the sake of verbosity isn't valuable... But to say never is a huge stretch. There are always those weird edge cases that everyone hates.

  • source
  • parent