3 ms·
You know what is truly better than spaces? PNGs. With PNGs you always get both the exact same indentation width, but also the same fonts and font colors! Tab
by Danieru 3y ago
You know what is truly better than spaces? PNGs.
With PNGs you always get both the exact same indentation width, but also the same fonts and font colors!
Tab proponents will talk junk about "preserving intention rather than incidental spacing". Space proponents will correctly point out that only spaces preserves alignment. Then don't even notice when the same code viewed on two different computers renders with two different FONTS!
Space lovers pretend alignment is super important, but are ignoring the biggest contributor to rendering differences!
Once you accept that preserving visual representation, aka rasterization, and not intention (tabbing) is important you unlock a world of options. With pngs you color code sections. You can mix fonts to mark meaning.
Best of all: once your editor is png aware the entire experience is transparent! Tabs are a cludge for outdated editors, real editors include powerful optimizations to OCR spaces/pngs into usable text files.