3 ms·
I would probably want to hit you with a baseball bat if I had to spend any time reading your code with my monospaced font. At least for the type of code that I
by sixothree 9y ago
I would probably want to hit you with a baseball bat if I had to spend any time reading your code with my monospaced font. At least for the type of code that I work in that lends itself to code alignment.
- Stratoscope 9y ago> I would probably want to hit you with a baseball bat if I had to spend any time reading your code with my monospaced font. Well, that's a good way to get a head start on the "hell or purgatory" thing, isn't it! :-) I'm not saying every kind of code is suited for a proportional font. If you use ASCII art, or if you are writing out two-dimensional matrices or the like, a monospaced font will serve you better. The kind of casual and unnecessary column alignment in my first example is what I was talking about. The second (indented) example is perfectly readable in either a monospaced or proportional font. So if you run across it you hopefully won't need your baseball bat.
- sixothree 9y agoOk. So do you use tabs or spaces? Do any reasonable editors support tabs of this sort?