Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: candycanearter07 Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Thu, 26 Sep 2024 18:00:09 -0000 (UTC) Organization: the-candyden-of-code Lines: 11 Message-ID: References: <20240826083330.00004760@gmail.com> <20240826155113.000005ba@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 26 Sep 2024 20:00:09 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7c3920680b16b464d38d6dcf83369ed3"; logging-data="352798"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+16YBHV7FpXfAQMek+eyxTqZQu2qyDa9aIBNPzTgpOog==" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:orM1f4Oc1IZPpUfXjuvlehSSfjk= X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]% b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx `~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e ZrQsWJ >|l^I_[pbsIqwoz.WGA] wrote at 22:48 this Saturday (GMT): > On Sat, 7 Sep 2024 18:30:03 -0000 (UTC), candycanearter07 wrote: > >> Subjectively, I prefer early returns over nested ifs: > > Nested ifs nest, early returns don’t. Right, they remove some nesting which makes it easier to read. -- user is generated from /dev/urandom