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

> I worked with a guy who extracted each and every boolean condition to a function because "it's easier to read"

Obviously, readability is important, but I've also seen things like this so often in my career where it's used as an excuse for anything. Most recently, trying to stop a teammate turning nearly every class into a singleton for the sake of "simplicity" and "readability", which I thought was a real stretch.



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

Search: