3 ms·
>This raises the question "Why are we still programming in monospace fonts?" Because we want to quickly see patterns in the code, and all characters being the
by coldtea 10y ago
>This raises the question "Why are we still programming in monospace fonts?"
Because we want to quickly see patterns in the code, and all characters being the same width helps with that.
>If you need a table or an image in a program, why can't it be in the code?
Because we've found that while nice for casual stuff, it's less flexible than when it's outside.
- abecedarius 10y agoWhen Emacs started supporting variable-width fonts well, I tried coding with them for a while. It works fine. I went back to monospace not because I'd been more productive, individually, with it, but because I needed to see my code the way others would see it. There's a book https://www.amazon.com/Human-Factors-Typography-Readable-Programs/dp/0201107457 https://www.amazon.com/Human-Factors-Typography-Readable-Pro... on typography for more readable programs.
- khedoros 10y agoI don't like programming with proportional fonts as much because they tend to be narrower than monospaced fonts. To get the same on-screen indentation, I end up using more spaces, and it's easier to have an off-by-one different in indentation, which is troublesome if I'm using Python, and which really bothers me if I'm using C++. Aside from that, I like having nicely-aligned tables in my code, and it's sometimes useful to align conditional statements across lines. Monospaced fonts just fit into my workflow a little bit better.