Alcides Fonseca

40.197958, -8.408312

Guido on Colons

Python’s use of indentation comes directly from ABC, but this idea didn’t originate with ABC—it had already been promoted by Donald Knuth and was a well-known concept of programming style. (The occam programming language also used it.) However, ABC’s authors did invent the use of the colon that separates the lead-in clause from the indented block. After early user testing without the colon, it was discovered that the meaning of the indentation was unclear to beginners being taught the first steps of programming. The addition of the colon clarified it significantly: the colon somehow draws attention to what follows and ties the phrases before and after it together in just the right way.

Guido in The History of Python

The colon in identation is one of my doubts for my casual language.