DEV Community

loading...

Punctuation in programming languages

Bruce Axtens
Programmed Canon Canola calculators in 1977. Assorted platforms and languages ever since. Assisting with HOPL.info. I am NOT looking for work -- I've got more than enough to do.
・1 min read

Yesterday a ten day long agony came to an end, three days of which were due to a right brace in the wrong place. I had spent hours trying to figure out what was wrong with program statements only to discover that it was the punctuation that was wrong.

Is this why some languages have keywords like OD and FI? Do languages like Python avoid this situation through indentation or does Python swap this for something else?

Boss is happy. Clients are happy. I'm not so happy.

Discussion (0)