4 ms·
But is rare that you're the only one changing and using the code. Fixed width code looks similarly aligned on all systems with fixed width fonts. A code writte
by arihant 11y ago
But is rare that you're the only one changing and using the code. Fixed width code looks similarly aligned on all systems with fixed width fonts.
A code written in Helvetica would render bizarro on an editor running Futura.
- Stratoscope 11y ago> A code written in Helvetica would render bizarro on an editor running Futura. Don't be so sure of that. If you were to load any of my code in your favorite editor and font, you would never know that I wrote it in a proportional font or what font I used. It would just look like ordinary well-formatted code. The reason is simple: I don't use column alignment at all. Column alignment is the only reason that code formatting would ever depend on what font you use or whether it's a monospaced or proportional font. Without column alignment, it doesn't matter in the slightest what font you write the code in or what font you read it in. Proportional, monospaced, any font you like. It will look fine.
- arihant 11y agoThat is interesting. How exactly do you format your code? I'm super curious. Maybe a code sample? :)