Re:Programming Fonts – Test Drive
by pmontra on Monday January 21, 2019 @09:44AM
(#18960654)
I also use proportional fonts. No problem with coworkers in either JavaScript, Ruby, Python, Elixir. I'm using DejaVu Sans Book on Ubuntu in Emacs.
People are always puzzled when they learn I'm not using a monospaced font, think it's impossible but agree that it's much more readable. Then keep using their monospaced fonts.
Actually, nobody likes to read books or blog posts printed with monospaced fonts, right? There is no reason to do it with code.
Alignment like this
short = 1
much_longer = 2
is lost but it's not really important. I think it's also against Python's style guide and for sure it doesn't survive the Elixir formatter (I checked this now.)
People are always puzzled when they learn I'm not using a monospaced font, think it's impossible but agree that it's much more readable. Then keep using their monospaced fonts.
Actually, nobody likes to read books or blog posts printed with monospaced fonts, right? There is no reason to do it with code.
Alignment like this
is lost but it's not really important. I think it's also against Python's style guide and for sure it doesn't survive the Elixir formatter (I checked this now.)