News for hackers. Stuff that matters.
Re:Lesser Known Coding Fonts by seanmcdirmid on Sunday October 20, 2019 @03:40AM (#21302740)
The kerning is easier in your eyes, and is also much more space efficient. The only drawback is the inability to do ascii art.
Re:Lesser Known Coding Fonts by solicode on Sunday October 20, 2019 @04:28AM (#21302883)
While I wouldn't say it's THAT significant, there is one other advantage to fixed-width fonts that I've experienced. Due to the fact that they align vertically, sometimes they expose mistakes if you're constructing data in a table-like fashion. Or when you have a bunch of copy/pasted lines that differ only in the parameter values. Like, "Hey wait a minute... this line is 1 char wider than the previous one. Oh, whoops, I fat-fingered something there".

I wish I had more specific examples and could quantify it better, but I know I've caught quite a few errors this way.

Re:Lesser Known Coding Fonts by koheripbal on Sunday October 20, 2019 @09:56AM (#21304176)
This exactly. Most recently I had a script that was calling functions with fixed width data sets (IDs, credit card numbers, birthdates, etc..), and typos were significantly easier to find due to the data and fonts both being fixed width.
Re:Lesser Known Coding Fonts by seanmcdirmid on Sunday October 20, 2019 @10:09AM (#21304240)
This is because we don’t have any decent rich formatting options available for code in a plain text file. You could totally find those errors in an excel spreadsheet, and excel doesn’t default to using fixed-width typewriter fonts.
Re:Lesser Known Coding Fonts by thenewnewguy on Sunday October 20, 2019 @03:49AM (#21302754)
Maybe it's because I've only used fixed-width fonts for programming and have gotten used to it - but I find fixed-width fonts significantly easier on the eyes.
Re:Lesser Known Coding Fonts by seanmcdirmid on Sunday October 20, 2019 @10:05AM (#21304216)
But would you ever read a novel using fixed width fonts? Modern typography uses variable width fonts for good reasons.

I find type writer fonts to look horrible since I’ve gotten used to variable width fonts. It’s like immediate eye strain for me. But you have to choose a good font, times new Roman won’t work.

Re:Lesser Known Coding Fonts by efreak on Monday October 21, 2019 @01:21AM (#21309531)
I used DejaVu Mono Book for quite a while, I had no problems with it.
Re:Lesser Known Coding Fonts by pmontra on Sunday October 20, 2019 @04:39AM (#21302925)
Only when coding or always, for example books and websites including this one?
Re:Lesser Known Coding Fonts by thenewnewguy on Sunday October 20, 2019 @07:29AM (#21303494)
Only when coding or working with raw text, I use variable-width fonts everywhere else (reading, browsing the web, etc).
Re:Lesser Known Coding Fonts by ithkuil on Sunday October 20, 2019 @03:46AM (#21302749)
And aligning text in some indentation styles