by macrael · 3y ago · 0 comments
(BTW this is also the reason why I don't use "code ligatures" -- mashing symbols together is the opposite of what I want to read code clearly.)
Personally I have not found this to be a big problem. Brackets are visible enough and indentation is the main way I see them anyway. I would LOVE to see a serious attempt at a variable width font for coding but already for me the benefits outweigh the drawbacks.
It's not an insurmountable problem, probably any skilled typographer could do a great job at it on a given typeface. Probably even just a committed amateur with fontforge could do an acceptable job in a weekend. But I'm neither and I don't know of any "code variant" variable-width fonts yet.
Plus the last few years this problem more or less resolved itself for me. There are a number of incredibly high quality code-specific fonts now, plus there are now fixed-width fonts so tightly designed with this in mind they aren't even obviously fixed-width unless you have a practiced eye for typesetting. You can get very close to the same result without giving up aligned columns, which is one advantage that is still fairly relevant.