Jul 7, 2022
To me "else after return" is just incompetent gibberish. It's a pointless redundancy showing an utter and complete lack of understanding what "return" even does.
It's as mind-numbingly dumbass as:
if (a === 1 && b === 1) {
// do something
} else if (a === 1 && b === 2) {
// do something else
}
Do they not even teach basic code logic anymore?
I rank it on the “well no shit’ scale alongside such derpitude as:
} // end block
or trashy incompetent markup like:
<form role="form">
<button role="button" class="button">