I'm not sure that ligatures would be an improvement for legibility or editing code.
I happen to like them, but the only one I'd put forth as a definite improvement is that JS/PHP's triple-equal === operator gets turned into three horizontal lines that take up more vertical space than the double-equal does. That can be the cause of subtle bugs, so I think making that distinction more obvious is a win.
Monospaced Programming Fonts with Ligatures
21–30 of 246 posts
Re: Monospaced Programming Fonts with Ligatures
#22I'm mystified how any one finds these more readable. Form over function if you ask me.
It looks odd only because we're accustomed to seeing the individual characters due to display limitations inherited from typewriters and TTY machines.
Re: Monospaced Programming Fonts with Ligatures
#23I 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.
Re: Monospaced Programming Fonts with Ligatures
#24I really like the giant, triple-line === ligature for JS in Fira Code. Makes it super-obvious when you are doing strict vs sloppy equality checks.
Sarcasm?
Re: Monospaced Programming Fonts with Ligatures
#25I'm mystified how any one finds these more readable. Form over function if you ask me.
It transforms them from individual characters being put together to approximate symbols into the actual symbols. The act of joining together particular character combinations into more aesthetically pleasing forms is common and very old practice. It looks odd only because we're accustomed to seeing the individual characters due to display limitations inherited from typewriters and TTY machines.
Re: Monospaced Programming Fonts with Ligatures
#26My only real concern is that it makes 0x123 look like 0×123. Otherwise, pretty cool.
My concern is it made 0xABCDEF turn into 0xAB_DE_F. What happened to the "C"?
Re: Monospaced Programming Fonts with Ligatures
#27I 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.
Seconded. I swore by Inconsolata for the better part of a decade but within days of installing Iosevka I had it set up in every editor or terminal on all of my computers. And it supports programming ligatures!
Re: Monospaced Programming Fonts with Ligatures
#28I 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.
Re: Monospaced Programming Fonts with Ligatures
#29Re: Monospaced Programming Fonts with Ligatures
#30[0] : https://github.com/tonsky/FiraCode/issues/162 [1] : https://github.com/mozilla/Fira