this post was submitted on 01 Sep 2023
339 points (96.2% liked)

Programming

17386 readers
539 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] tatterdemalion 2 points 1 year ago* (last edited 1 year ago) (8 children)

80 character limit is helpful though when you need to have many files open at a time. Maybe 100 is more reasonable. Fighting indentation is important too.

[–] [email protected] 0 points 1 year ago (7 children)

I, too, remember the days before ultra high definition ultra wide monitors.

I thought this argument was bogus in the 90s on a 21" CRT and the argument has gotten even less valid since then. There are so many solutions to these problems that increase productivity for paltry sums of money it's insane to me that companies don't immediately purchase these for all developers.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (4 children)

I have a massive ultrawide and I still 100% believe in line limits. Long lines are harder to read in general but even with a limit of 100 I frequently have 3 files opened next to each other and I can't read entire lines easily. Line limits just aren't about the size of the monitor and I can't believe people still say that.

[–] [email protected] 1 points 1 year ago

The best code has very little comments because the naming conventions should explain what it does and individual functions should do one thing.

Lines should not be too long, but any IDE can do soft wrapping anyway. So it’s kind of a moot point.

load more comments (3 replies)
load more comments (5 replies)
load more comments (5 replies)