Monospaced Programming Fonts with Ligatures
121–130 of 246 posts
Re: Monospaced Programming Fonts with Ligatures
#122Honeslty, this should be handled by the language itself. If a language supports unicode, why not support ≠ for not-equals instead of "!="? Then provide a pre-processor that will replace all your ugly "!=" with the correct mathematical symbol.
Perl 6 tends to support both multicharacter ASCII operators and single-character Unicode equivalents.
Re: Monospaced Programming Fonts with Ligatures
#123It's $CURRENT_YEAR. Just let people write ≠ for ≠ already.
Re: Monospaced Programming Fonts with Ligatures
#124This is a deeply personal choice, I feel. I am not a fan of using ligatures in programming code as it gives some abiguity around how many characters are in a given ligature. To each his/her own, I guess.
I think you're maybe confusing monospace ligatures with something else (though I'm not sure what.) In all of these programming ligature fonts, it's quite apparent how many characters a given ligature is composed of, because a ligature still consumes the horizontal width of the characters it's composed of. Look at the "!=" ligature in the Fira Code example: it's a ≠, but it clearly takes up 2em of width.
Re: Monospaced Programming Fonts with Ligatures
#125Honeslty, this should be handled by the language itself. If a language supports unicode, why not support ≠ for not-equals instead of "!="? Then provide a pre-processor that will replace all your ugly "!=" with the correct mathematical symbol.
Re: Monospaced Programming Fonts with Ligatures
#126Earlier quoted context omitted.
Why did you format the code snippets in your comment in a monospace font? Also, I'm curious. I want to see how the code looks like. I want to know what are the downsides of monospace and the benefits of proportional. The one you cited isn't too much of a deal, since it is just a habit you can create using monospace still.
HN is a web page, and HTML swallows multiple-spaces into a single space.
Edit: crap, doesn't work
Re: Monospaced Programming Fonts with Ligatures
#127> Picking a programming font is like picking a religion. No matter what you pick someone will say you're wrong. Most people will agree at least that monospaced fonts are ideal for reading code and that both of you who use proportionally spaces fonts are destined for hell, or at the very least, purgatory. I guess I'm destined for hell or purgatory then. Hanselman is not alone. I had the CEO of one company look over my…
Re: Monospaced Programming Fonts with Ligatures
#128I like switching fonts every couple of years just to keep it fresh. My font right now is Iosevka: https://be5invis.github.io/Iosevka/ A font generated from its source code. You can build your own variant. It has ligatures as well. I like that it’s not as wide as many other monospace fonts.
Exception: all my spreadsheets are in Consolas (an universally available font in Windows environments).
Re: Monospaced Programming Fonts with Ligatures
#129Right now I only have 3 split views, Unit tests, the header and the source file I am working on.That window does not take up the full screen and I have plenty of space for a build VM another text editor for scripts and notes, a file manager and a few consoles.
Re: Monospaced Programming Fonts with Ligatures
#130This is a deeply personal choice, I feel. I am not a fan of using ligatures in programming code as it gives some abiguity around how many characters are in a given ligature. To each his/her own, I guess.
Solution in search of a problem.
Otherwise we wouldn't even be discussing typefaces.