Hacker News new | past | comments | ask | show | jobs | submit login

I've grown to dislike the early return pattern. It's pitched as a way to reduce visual complexity by reducing levels of indentation, but I don't actually find that to be a benefit in most cases. Reducing indentation is just a trick to shove more cyclomatic complexity into a function without it triggering your sensibilities to implement proper abstractions.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: