Comment by array_key_first
17 hours ago
It's slightly less lines of code which is nice. I'm someone who prefers terseness so I get it.
However, it's bad. I much prefer the rare, elusive, postfix if:
goto fail if (condition);
It can create some very readable code when used right, with short and simple conditionals.
No comments yet
Contribute on Hacker News ↗