Deutsch English Français Italiano |
<vas3tt$eij4$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Fri, 30 Aug 2024 11:38:05 +0200 Organization: A noiseless patient Spider Lines: 64 Message-ID: <vas3tt$eij4$1@dont-email.me> References: <uu54la$3su5b$6@dont-email.me> <v9m4gd$14scu$1@dont-email.me> <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me> <v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me> <va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me> <va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me> <va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me> <va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me> <va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me> <va6rpa$c6bg$1@dont-email.me> <va6se9$cb8e$1@dont-email.me> <20240826083330.00004760@gmail.com> <vaises$2k7o6$2@dont-email.me> <20240826155113.000005ba@gmail.com> <wwvo75eicla.fsf@LkoBDZeT.terraraq.uk> <vak9k9$2ujrs$1@dont-email.me> <valgpu$34s18$1@dont-email.me> <vannkg$3ig72$1@dont-email.me> <vanrd8$3j0vv$1@dont-email.me> <vantnp$3j94i$1@dont-email.me> <vapp91$3v4l8$3@dont-email.me> <vaqucc$5ioe$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 30 Aug 2024 11:38:06 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3b8d9008b438dc7a1af6ab394661d0db"; logging-data="477796"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18tYt4T884xe+BE+dB2UrGftekhHeY5/2w=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:VxXIObQlvKCji/miWE47XoexOy4= In-Reply-To: <vaqucc$5ioe$1@dont-email.me> Content-Language: en-GB Bytes: 4647 On 30/08/2024 00:57, Lawrence D'Oliveiro wrote: > 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 ... Yes - the restriction is a major advantage. Python can check it, and there are far fewer ways for the programmer to get it wrong. > >> Don't you ever just accept that a language is the way it is, and it is >> perfectly useable that way? > > Of course not. How silly. You should work to improve the things you can, instead of wasting effort arguing with brick walls. If you want to get involved in the design and future of a language, that's fine, but few people have the time and skills needed or the opportunity to do it as serious paid work. Getting worked up about the way Python blocking works is about as productive as getting worked up about the way English language spelling works. There are countless other more useful ways to spend your time - and certainly many more enjoyable ways. > >> 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. It's not your language, so there is no "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. When there are a number of smart, experienced and educated people involved in the decisions, "obvious stupidities" are extremely unlikely. That's the point of involving multiple people and gathering opinions from many in the field. There can be design decisions that don't suit /you/ - but they were not designing a language for /you/. There can be design decisions that made sense at the time, but turned out to be unwise in the end. Those are not "obvious stupidities", even with 20/20 hindsight. And there can be compromises where it is known that a decision is bad in at least some ways, because it allows other better things to be done - again, not a "stupidity" even if the one aspect in isolation looks bad.