A side note: When I first read the title, I thought it was "Typos in Programming Languages" -- an interesting topic, I suspect.
Think about it: in "line noise" languages like Perl, a typo will not leap out at you as a mistake. Languages like VB produce code filled with non-typos that look like mistakes -- inconsistent use of quote marks, parentheses, etc.
On the other hand, it's fairly easy to see program structure in Python since it uses whitespace and not easily confused parenthesis and brace characters like Java (a personal pet peeve since I have lousy vision).
It's far too basic an issue for this crowd, I suspect, but designing a language's syntax so that it survives poor typists is a practical consideration worth thinking about in your next ultra-high level DSL. My favorite in this area is still Lisp, especially with a moderately smart editor, but Python definitely looks interesting. At the bottom of the list are VB and Perl, one for accepting too many variants for common expressions and one because it looks confusing to my untrained eye.
[I shouldn't be surprised that Python looks like a winner in the typo-resistant class of languages -- apparently ABC, its predecessor, was explicitly designed with usability in mind. Lisp may rate well because smart people used it and then designed the tools that made it friendlier -- I've rarely needed to write Lisp without Emacs or a similar editor.]
|