Liste des Groupes | Revenir à cl misc |
On Thu, 29 Aug 2024 14:24:01 +0200, David Brown wrote:
>def foo(a, b, c) :>
if a :
if b :
if c :
doThis()
That looks unfinished to me. So I will add a "return" at the end (with
a single tab indent, in this case).
A redundant “return” ... kind of like my redundant “#end” comments, except
yours work in a more restricted set of places ...
>Don't you ever just accept that a language is the way it is, and it is>
perfectly useable that way?
Of course not.
>Or think that perhaps other people in the world know better than you do>
about how they want their language to work?
And vice versa.
>Has it never occurred to you that the people behind a given>
language - such as Python - considered various alternatives and decided
that making it the way they did was the best choice overall for the
language they wanted?
Barring a few obvious stupidities, yes of course they were, and are, smart
people.
Les messages affichés proviennent d'usenet.