j: Next unread message
k: Previous unread message
j a: Jump to all threads
j l: Jump to MailingList overview
Riobard Zhan wrote:
Pascal uses colons, but not for the exact same purpose as Python. Both languages use colons in similar ways to it's use in English. In particular, Python uses colons as a break between clauses: larger than a comma, smaller than a period.
I'm sorry you dislike colons, but I like them.
What do you think? Specifically, may I ask your feedback on the following issues?
Perhaps one time in 1000, MUCH less often than I miss a closing parenthesis, and about as often as I accidentally use round brackets instead of square (or visa versa).
I think so.
I came to Python from Pascal and Hypertalk, two very different languages. I never missed Pascal's semi-colons at the end of each line, and Hypertalk rarely use punctuation (other than for arithmetic). I didn't find it difficult to pick up on using colons.
As an exercise, I just took a look at some old Hypertalk code, and found the lack of colons equally distracting in it as I find it in your examples.
I don't think it would lead to any problems, but I think it would make Python less elegant.