News for hackers. Stuff that matters.
Re:Programming with proportional fonts is great by tlrobinson on Saturday January 16, 2010 @06:40AM (#1056811)
I can't stand proportional fonts for programming. Aside from it being harder for me to read, inability to use any sort of ASCII art, etc, it just feels sacrilegious.

Not to mention my editor of choice (TextMate) fails horribly with proportional fonts.

But then again, I used to feel the same way about anti-aliased programming fonts, and have since switched.

Currently Inconsolata 16pt anti-aliased is my font of choice. It helps to have a big screen...

Re:Programming with proportional fonts is great by nailer on Saturday January 16, 2010 @07:32AM (#1056849)
> inability to use any sort of ASCII art

That actually makes me support the idea of using proportional fonts even more.

- If something's that complex you need a diagram to support it, that probably doesn't belong in your code - you should maintain documentation in documentation format, and doc updates shouldn't mean new code revisions. Throw a URL to the documentation in as the comment.

- Diagrams could be illustrated much better with an actual diagram rather than an ASCII visualization of one.

Re:Programming with proportional fonts is great by Deestan on Saturday January 16, 2010 @09:01AM (#1056914)
Design documents and complex diagrams don't belong in code, but a simple ASCII diagram right there in the code to illustrate how the transformation tree is created:

- is always within easy reach of the eye.

- is harder to forget about when changing the code.

- doesn't require you to download, install, register and fire up Visio Community Edition 2008 to add a new FileLogger node to the illustration of the data transformation tree.

Re:Programming with proportional fonts is great by nailer on Saturday January 16, 2010 @03:28PM (#1057429)
Simple and complex diagrams can be made in any decent graphics app (Inkscape or Keynote are fantastic) and easily exported to PNG or SVG.

Personally I also have a lot of trouble reading ASCII diagrams. Knowing that pipe-slash-dash is a curved line, when the line is broken and the ends don't line up properly.

On a separate note, I suggest whoever moderated me to zero should read the HN guidelines.

Re:Programming with proportional fonts is great by olliesaunders on Saturday January 16, 2010 @01:35PM (#1057256)
Why do proportional fonts fail so bad with TextMate?
Re:Programming with proportional fonts is great by tlrobinson on Saturday January 16, 2010 @09:35PM (#1057901)
I don't know, but they do: http://tlrobinson.net/skitches/Screen%20shot%202010-01-16%20...

Edit: Hah, I swear I didn't notice that Growl notification in the corner until just now...