4 ms·
Counterpoint: I like ligatures in programming fonts.
by meepmorp 5y ago
Counterpoint: I like ligatures in programming fonts.
- Something1234 5y agoCounterpoint to your counterpoint: the standard is still the best way, and ligitures are non standard.
- HanaShiratori 5y agoRip rc files, no colored terminals anymore :(
- detaro 5y agoStandards matter for interop, not so much for personal preference in personal environments.
- _pmf_ 5y agoI hope you use the standard Windows OS.
- torstenvl 5y agoCan you point me to where in a programming language standard it says what font, hinting, and kerning must be used when editing code?
- pbronez 5y agoI 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 https://github.com/tonsky/FiraCode
- meepmorp 5y agoI guess? I've never really encountered problems with it, but I'm fine if people don't share my tastes.
- bee_rider 5y agoIn 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.