Re:Push ifs up and fors down
by shanghaikid on Thursday November 16, 2023 @01:42AM
(#38286417)
no one likes 'if/else', moving 'if/else' inside/outside a function is not a solution, if you are writing business logic or UI logic, we should try to avoid it as much as possible, only except when you are writing complex algorithm which the computational complexity is required.
[ Parent
| on HN ]
There are no comments on this comment yet.