3 ms·
Word wrap and proportional fonts are your friend. Contrary to what many developers believe, coding in a proportional font can be quite practical and enjoyable.
by Stratoscope 6y ago
Word wrap and proportional fonts are your friend.
Contrary to what many developers believe, coding in a proportional font can be quite practical and enjoyable. And it fits a lot more horizontal text on the screen for the same visual font size.
There are some exceptions, of course, such as code dealing with bit patterns or matrices where you want things to align vertically.
But for most of the code most of us read and write, that isn't an issue. As a specific example, Python code formatted with Black is equally readable in a monospaced or proportional font.
And then when a line is too long - whatever font you use - word wrap fixes it. Even if word wrapping looks a little sloppy sometimes, it sure beats having to scroll horizontally.
- Nition 6y agoI kinda wish there was a version of Fira Sans with the ligatures from Fira Code. I code with a monospaced front right now, but I agree with you that there's rarely a serious need for it, and proportional can be easier to read.