Re:You probably don’t need AWS and are better off without it
by ehutch79 on Wednesday April 20, 2022 @04:34PM
(#31102624)
I know you're kidding, but there are legit videos saying you should never use If statements
[ Parent
| on HN ]
Re:You probably don’t need AWS and are better off without it
by lopatin on Wednesday April 20, 2022 @04:39PM
(#31102684)
I wish I was kidding, but that sounds even worse!
- https://www.youtube.com/watch?v=kzuCnivRoEw
Re:You probably don’t need AWS and are better off without it
by deanCommie on Saturday April 23, 2022 @12:49AM
(#31131505)
Except...these are right. Minimizing nesting, and setting up validation failures as exit-early conditions from functions to have the main function body focused on the happy path are absolutely valid principles of clean code.
Obviously there are always exceptions, but as a principle you could do a lot worse.