Hacker News new | ask | show | jobs
by mantrax5 4398 days ago
The most popular text mode on older computers was 80 chars wide. That's really it. No other reason.

I use 120, plenty of space to fit two code windows side by side and one file browser.

With HD screens and the verbose languages we use these days (and verbosity is not always bad), it's a bit silly to try to stick to 80 char cols.

3 comments

100-120 is definitely a lot more comfortable for most situations. It's good to have a width limit, but sticking with 80 for tradition's sake can often be worse than having none at all.
So how much of your code goes past 80 chars? What part of it is taking up the most space?

Feel free to add any other details, like the kind of programming you do, what language, etc.

Obj-C / Cocoa uses very long variable names. Someone mentioned this in a post above with a link for example. It's very hard to stick to < 80.

            leftWall.physicsBody = [SKPhysicsBody bodyWithRectangleOfSize:CGSizeMake(100, wallHeight)];
close to 100 characters.
It'd be nice if when people down-mod a post, they give a reason. The way it works is just useless.