Hacker News new | past | comments | ask | show | jobs | submit login

Counterpoint: I like ligatures in programming fonts.



Counterpoint to your counterpoint: the standard is still the best way, and ligitures are non standard.


Can you point me to where in a programming language standard it says what font, hinting, and kerning must be used when editing code?


Standards matter for interop, not so much for personal preference in personal environments.


Rip rc files, no colored terminals anymore :(


I hope you use the standard Windows OS.


I bet ligatures would be unambiguously helpful in programing if they were limited to the presentation layer and controlled by the syntax highlighter.

For example, the author uses Fira Code[0] as an example of well-intentioned by problematic ligatures. The author says this is bad because (1) it contradicts unicode and (2) the substitutions will be inappropriate sometimes.

(2) is solved by applying substitutions in semantically relevant places with the syntax highlighter. This would be particularly useful when typing special sequences. If you get the ligature substitution, then you know you don't have a typo.

(1) is trickier. You want to save a unicode file, and you want to be able to copy text selections that end part way through a ligature. This requires some finesse.

[0] https://github.com/tonsky/FiraCode


In what sense does it require finesse? It seems to work fine in vim at least.

Agree that it may be nice if they were more syntax aware. Although, I'm not sure what I want to have happen if I comment out some code.


I guess? I've never really encountered problems with it, but I'm fine if people don't share my tastes.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: