Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’d argue that splitting what is essentially a four line check or default into something like three different functions makes it a lot harder to grasp.

I think my issue with clean code is primarily that it doesn’t actually make code more maintainable. As another poster mentioned, data or domain driven design does the same thing better.



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

Search: