Why not allow empty code blocks?

BartC bc at freeuk.com
Sat Jul 30 10:16:03 EDT 2016


On 30/07/2016 14:06, Steven D'Aprano wrote:

> End of story. As far as I am concerned, the 97% of languages which allow the
> visual structure of the code to differ from their logical structure are BAD
> LANGUAGES.

You mean languages that allow code like this:

a = (
            b
  +c *


d)

?

Another category is where code is written predominantly side-ways rather 
than vertically. (Multiple chained method calls for example, or trying 
to express something as a 'one-liner'.)

-- 
Bartc





More information about the Python-list mailing list