Programming Fonts – Test Drive
41–50 of 289 posts
Re: Programming Fonts – Test Drive
#42It looks like these are all monospaced fonts. I realize that most programmers use monospaced fonts, but I personally find proportional fonts to be much more readable and pleasing to my eye. I would be really interested in a similar font comparison that included proportional fonts that are suitable for programming. Right now my favorite is Trebuchet MS. This renders beautifully on the high-DPI displays I use, and it h…
Curious. How do you line things up?
Most things line up perfectly fine i IntelliJ.
I have had someone on my team with an itch for lining up variable assignment. That was the one thing that looked off.
int abc = 3
int defg = 4
int bigTestVaribale = 6Re: Programming Fonts – Test Drive
#43https://github.com/ryanoasis/nerd-fonts
Then your editor can look like this:
https://raw.githubusercontent.com/wiki/ryanoasis/vim-devicon...
It's not all just for looks. For example you get icons for file types so it's also useful. My favorite is the Nerd Font version of Droid Sans Mono.
Re: Programming Fonts – Test Drive
#44Re: Programming Fonts – Test Drive
#45Identifont is a similar system. It uses a twenty-questions style format to identify an unknown font.
Re: Programming Fonts – Test Drive
#46Re: Programming Fonts – Test Drive
#47I'm surprised that the list doesn't mention consolas. It ships default with visual studio and it's so good that I use it on arch Linux as my terminal font and with intellij. It was designed with programming in mind and has some nifty characteristics like a slash through zero. This list also misses out on 'operator mono' which is a well thought out font for programming.
Re: Programming Fonts – Test Drive
#48Earlier quoted context omitted.
Curious. How do you line things up?
Not OP, but I use Verdana in Java. Most things line up perfectly fine i IntelliJ. I have had someone on my team with an itch for lining up variable assignment. That was the one thing that looked off. int abc = 3 int defg = 4 int bigTestVaribale = 6
Nevertheless, for teams that insist, the auto code formatter makes it look ‘nice’ for them.
Personally, I think vertical alignment apart from indentation is a mistake for more than these reasons. It implies a structure where there is none.
Re: Programming Fonts – Test Drive
#49It looks like these are all monospaced fonts. I realize that most programmers use monospaced fonts, but I personally find proportional fonts to be much more readable and pleasing to my eye. I would be really interested in a similar font comparison that included proportional fonts that are suitable for programming. Right now my favorite is Trebuchet MS. This renders beautifully on the high-DPI displays I use, and it h…
Re: Programming Fonts – Test Drive
#50It looks like these are all monospaced fonts. I realize that most programmers use monospaced fonts, but I personally find proportional fonts to be much more readable and pleasing to my eye. I would be really interested in a similar font comparison that included proportional fonts that are suitable for programming. Right now my favorite is Trebuchet MS. This renders beautifully on the high-DPI displays I use, and it h…
I'm curious to know how you started using proportional fonts for coding. All of the tooling for writing code defaults to monospace, so what started you coding in a different style?
This makes sense: our eye uses the top and bottom of words to ‘key’ the word. Use proportional and you add information to this system.
[1] https://blog.codinghorror.com/comparing-font-legibility/
[2] https://journals.sagepub.com/doi/pdf/10.1177/001872088302500...
(edit: add references to research)