Liste des Groupes | Revenir à l misc |
On Thu, 26 Sep 2024 18:00:09 -0000 (UTC), candycanearter07 wrote:
>Lawrence D'Oliveiro <ldo@nz.invalid> 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.
Les messages affichés proviennent d'usenet.