-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

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".

-- Response ended

-- Page fetched on Sat May 4 03:48:59 2024