News for hackers. Stuff that matters.
Re:Alternative code styles by nothrabannosir on Monday October 15, 2018 @01:07PM (#18221519)
Fixed width fonts are used for programming because of cargo culting. I tried programming in serif fonts only after a HN comment suggested it (would never have thought of it myself) and it's fantastic. Very readable. They were right.

And you can still manually format code, serif or monospace.

Proportional or monospace font choice is orthogonal to formatting.

(Edited to be more specific)

Re:Alternative code styles by seanmcdirmid on Monday October 15, 2018 @02:47PM (#18222499)
I prefer a San serif myself.

Mono space allows you to do manual alignment, eg if you want ascii art in your code or non standard formatting. Doing this with a proportional font means other people can’t read your code without using the same font.