2 ms·
With a variable width font you can't use spaces for alignment...
by apelapan 3y ago
With a variable width font you can't use spaces for alignment...
- MiddleEndian 3y agoIf you program in a variable-width font, you're on your own!
- GoblinSlayer 3y agoThat is, people using alignment only care that it works on their machine.
- yencabulator 3y agoMonospace is weird legacy technology and a path dependency that people are holding on to for not so great reasons. If monospace was actually a good idea and not a technical limitation of computers from the 80s, books, newspapers, and your comment on this website would be displayed in monospace.
- MiddleEndian 3y agoI dunno man, sometimes things are good in different contexts. Monospace makes stuff really easy to align when programming, and while I do like the idea of elastic tabstops and have tried it out before, in practice they don't work so well.
- yencabulator 3y agoFrankly, I've never desired for things to be aligned in source code. Are you, like, embedding tables of numbers in your code, or just explicitly aligning the equals signs in short = 42 and much_longer = 7?