News for hackers. Stuff that matters.
Re:C-style: My favorite C programming practices by LeoNatan25 on Monday May 20, 2024 @08:22AM (#40414676)
This is probably a snarky reply, but here is the serious answer: proportional fonts, with appropriate kerning, is a lot more legible than monospaced font. There is a reason why the press moved into that direction once it was technically feasible. But the same people that bring books as an example why 80 character line length should be enforced would gag at the notion of using proportional fonts for development. It just goes to show that none of these things actually matter, it’s just legacy patterns that remain in-place from sheer inertia, with really very little relevancy today other than the inertia of the past.
Re:C-style: My favorite C programming practices by thefaux on Monday May 20, 2024 @10:57AM (#40416239)
<snark> I'm glad you cleared this all up for us. </snark>

Other people disagree with you and it's best to not assume they are idiots.

Re:C-style: My favorite C programming practices by LeoNatan25 on Monday May 20, 2024 @07:38PM (#40421992)
So far, you are the only one making a fool of themselves.
Re:C-style: My favorite C programming practices by xigoi on Monday May 20, 2024 @01:47PM (#40418044)
Code uses much more punctuation than prose, and punctuation is hard to discern in a proportional font.
Re:C-style: My favorite C programming practices by jdougan on Monday May 20, 2024 @05:48PM (#40420838)
Depends on which language you are writing in. Historically Smalltalk UIs use proportional fonts, and they work just fine.
Re:C-style: My favorite C programming practices by ____________g on Tuesday May 21, 2024 @02:48AM (#40424952)
I agree. I've tried coding in C-like languages with proportional fonts a few times, and punctuation ends up feeling cramped, hurting legibility. We need more proportional fonts for programming where punctuation gets the same size and spacing as in monospaced fonts.