Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Muttley@dastardlyhq.com Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Fri, 27 Sep 2024 08:03:43 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: References: <20240826083330.00004760@gmail.com> <20240826155113.000005ba@gmail.com> Injection-Date: Fri, 27 Sep 2024 10:03:43 +0200 (CEST) Injection-Info: dont-email.me; posting-host="18b7ed95a0b6cabc943f9ddfd9df0e8c"; logging-data="707504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ihB80eSb+vgQNvzxUwPix" Cancel-Lock: sha1:VHaH6Mg32fnt2gFg51Mbrtw6B0I= Bytes: 2419 On Thu, 26 Sep 2024 20:36:11 -0000 (UTC) Lawrence D'Oliveiro boringly babbled: >On Thu, 26 Sep 2024 18:00:09 -0000 (UTC), candycanearter07 wrote: > >> Lawrence D'Oliveiro 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. > >Nestability helps with refactorability. Hell it does. All it helps with is making the code harder to follow.