Code layout again ✍️

=> Morgan wrote about using proportional fonts for code.

I can't see your screen when you're coding. You should use whatever font you want. But I can't agree with Morgan's assertions.

...use a proportional font. They are more readable. That’s why we use them for literally everything else besides code.

I'm not so sure, but let's assume it's true about the readability. If I'm reading ordinary text, I start at the left and work across†. But if I'm reading code, I never do that. I want to see the structure, and I get more of that with a monospace font.

what about all my careful hand-crafted indentation? Fortunately very few languages need it.

I'd say that all languages need it, and I wouldn't use a language that which enforced layout conventions...

=> ...as I said previously‡.

Feel free to disagree. 🙂

Question for Geminauts

Despite what I've just said, I'm now curious about text interfaces with proportional fonts. I've never seen that. Does it exist?

=> #fonts | #CodeLayout

=> back to gemlog


† I heard that speed readers don't start reading ordinary text at the left. What kind of voodoo is that?!

‡ I wondered about a language with no punctuation, and got the answer "Forth".

Proxy Information
Original URL
gemini://freeshell.de/gemlog/2023-05-09_Code_layout_again.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
105.027211 milliseconds
Gemini-to-HTML Time
0.611795 milliseconds

This content has been proxied by September (3851b).