News for hackers. Stuff that matters.
Re:Elevate your C programming skills by exploring the SQLite... by WalterGR on Sunday July 09, 2017 @04:59PM (#14731632)
Have pity on those with small screens.

How small are your screen(s)? What resolution do you run them at? What size font? Do you have eyesight issues?

I have decent vision at monitor distance. On a 13-inch Macbook Pro, using a font of reasonable size, I can easily diff two files with a line length of 108 - side-by-side.

I'm curious, then, why others can't do that. (Eyesight issues aside, of course.)

(Whether code lines should be 108 characters long is a separate issue.)

Re:Elevate your C programming skills by exploring the SQLite... by marvy on Sunday July 09, 2017 @08:36PM (#14732589)
At home, my desktop has a resolution of 1366x768. (I usually use my laptop, which is higher than that, but whatever.) At work, I have monitors in the "portrait" position, so I only have 1080 horizontal pixels unless I'm willing to split something across two screens. (Never!)

But in this case, all that is not relevant. The link was to Github, and Github enforces a width of less than a thousand pixels, regardless of screen size.

Re:Elevate your C programming skills by exploring the SQLite... by WalterGR on Sunday July 09, 2017 @11:51PM (#14733269)
I have monitors in the "portrait" position

Excellent, thanks. That's something I hadn't considered.

But in this case, all that is not relevant. The link was to Github, and Github enforces...

Ah. I assumed you were speaking generally.

Re:Elevate your C programming skills by exploring the SQLite... by marvy on Monday July 10, 2017 @07:50AM (#14735068)
Well, I mostly was. Long lines are _generally_ inconvenient. Everything from portrait screens to websites that won't use the full screen width to someone who wants to a printout of the code for some reason (even printing in landscape is not enough).