Reply to post: Re: I like Python and C

Python creator Guido van Rossum sys.exit()s as language overlord

Charlie Clark Silver badge

Re: I like Python and C

What I don't understand is why a language allows you to do things in two different ways

Python doesn't really like this. Hence, the claim from import this, that There should be one-- and preferably only one --obvious way to do it.

Comprehensions and multiline expressions are more than just functionally equivalent, hence I wouldn't expect flame wars about them, but otherwise there is a sense of what is Pythonic. It's not canonical and open for debate, but also considered a value in itself.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019