E596: Invalid font(s)
I just can't bring myself to use emacs.Programming with proportional fonts is great
21–30 of 52 posts
Re: Programming with proportional fonts is great
#22It's hard to keep code within the 80 char per line limit of PEP8 without using fixed-width.
Re: Programming with proportional fonts is great
#23this is what I use, it's available for Lunix too
Re: Programming with proportional fonts is great
#24gvim hates proportional fonts: E596: Invalid font(s) I just can't bring myself to use emacs.
Available for Lunix (Linux / Unixes / etc)
Re: Programming with proportional fonts is great
#25gvim hates proportional fonts: E596: Invalid font(s) I just can't bring myself to use emacs.
http://en.wikipedia.org/wiki/Acme_(text_editor) Available for Lunix (Linux / Unixes / etc) http://swtch.com/plan9port/
Re: Programming with proportional fonts is great
#26Of course proportional fonts can be read faster. That's not the point. Programming uses lots of non-standard glyphs, has meaningful syntax (eg. parens, brackets), and often meaningful whitespace. You can real _words_ faster in proportional font, but (arguably) not _code_.
I agree completely.
Re: Programming with proportional fonts is great
#27The only IDEs I've seen work this way was the old THINK Pascal from the 68k Mac era, and its predecessor Instant Pascal for the Apple II. Anybody else seen a more recent example in the wild?
Re: Programming with proportional fonts is great
#28In my experience, proportional typefaces only work for code if the IDE/editor is using a pretty-printer that uses word-processor style indentation. (That is, it uses tab stops as opposed to just inserting spaces/tabs in the text.) The only IDEs I've seen work this way was the old THINK Pascal from the 68k Mac era, and its predecessor Instant Pascal for the Apple II. Anybody else seen a more recent example in the wild…
EDIT: I checked my dev environments, and it turns out both Eclipse and Visual Studio support proportional fonts in the code editors. I had just never thought to look.
Re: Programming with proportional fonts is great
#29 Tomato vs. Tomahto
Bug vs. Feature
Tabs vs. Spaces
Either approach introduces about as many problems as it solves. I personally like being able to line things up with a few extra spaces to give some hints to my future self regarding the structure of my code.Re: Programming with proportional fonts is great
#30I would imagine special proportions for markers like (){}[] and punctuation marks and fixed proportions for numbers. At one point the difference between that and syntax highlighting and automatic indentation blurs.