General Notes

Code needs to be machine-readable and human readable.
Whitespace -- an abscence -- is hard to read.

 

Wikipedia:Python_%28programming_language%29 : “Its use of indentation for block delimiters is unusual among popular programming languages.”

 

http://c2.com/cgi/wiki?PythonWhiteSpaceDiscussion

 

On one hand, I like the language enforcing good coding standards, and eliminating HolyWars. OTOH, I think that invisible characters are note very human readable.

 

However -- the spaces between words in human languages, and between operators (etc) in programming languages ARE whitespace. So, how does that fit in?

 

Because between operators the whitespace is negative space.
At the start of a line it is... not negative space. Not sure what it is.

 

This is why I like curly-braces and semicolons -- lines and blocks are visibly obvious to a human.

 

See Also

 

 

Category tags

Programming


 

Comments

No comments yet.

 

 

Add Comment

Heading:
 Your Message
 
 Enter value ← Have you entered the code number?
Author: