Quantcast
Channel: Hunter Jerusalem Journal
Viewing all articles
Browse latest Browse all 637

Typography, Readability, Writability for Programmers

$
0
0
The big IDEs should show the code always formatted, aligned with visual line breaks as the reader want it, and not the writer intended. Apple Script Editor did it like that. That was impressing.

With a non monospace font programming is easier because typos are easier to find because of different width:
<div><span class="highlight">M</span></div>
<div><span class="highlight">M</span></div>
<div><spam class="highlight">M</spam></div>
<div><span class="highlight">M</span></div>

Also bold, italic and serif helps to differentiate different types of code.
def_breakCycles(self):super(ShowMouseCoordinatesTextBox,self)._breakCycles()removeObserver(self,"mouseMoved")removeObserver(self,"mouseDragged")removeObserver(self,"mouseUp")

Viewing all articles
Browse latest Browse all 637

Latest Images

Trending Articles