3 ms·
I'm not sure that ligatures would be an improvement for legibility or editing code.
by twobyfour 9y ago
I'm not sure that ligatures would be an improvement for legibility or editing code.
- kej 9y agoI 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.
- twobyfour 9y agoPersonally, I'd probably find it easier to visually mix up the two-line and three-line versions than to mix up the two-char and three-char versions when skimming code - but to each their own.
- kej 9y agoYou still get the same three-char width, the ligature just makes it three lines tall, also.