▲ | xipix a day ago | |
You can't use spaces to align because you can't assume a monospaced font will always be used. You can't use tabs either for that matter. If you need structure, use the language's punctuation and line breaks. | ||
▲ | idbehold a day ago | parent | next [-] | |
I can and do assume a monospaced font when using spaces to align code. Folks using variable width fonts will get what they deserve. | ||
▲ | eviks 17 hours ago | parent | prev [-] | |
You can use tabs, that’s exactly their role, but only in theory since in practice elastic tab stops that would work with proportional fonts aren’t implemented anywhere in code, only word processors |