by doty · 16y ago · 0 comments
I mean, it's kinda silly that we continue to program in fixed-width type, given what modern software can do with setting type on the fly...
Using a variable width font would pose many problems to the editor and you'd have to have tabs on the "inside" of a line (as opposed to just having them on the front). That isn't necessarily bad, just much different from how I currently currently code.
And aligning to a tab stop is not always what I want--you'd need a tab character that didn't mean "go to the next tab stop" but instead meant "line me up with the corresponding tab in the previous and next lines at the minimum possible distance". That seems annoying and probably not worth it.
Because a tab is frequently equivalent to a number of spaces in a fixed width font, we get religious wars about tabs vs spaces. In a variable width font, I presume you would use only tabs.
It mat also be the case that c and c-family languages (or python and python-like languages) are not the best choice for such a typesetting system.
I suppose one answer would be to have a smarter editor that could imbed tables, ala a word processor, but that's certainly not a workflow I'm used to.