Hacker News new | ask | show | jobs
by Spivak 1611 days ago
But why?!?! There's no way this conditional is a well-defined named concept and just adds indirection for the sake of line length.
2 comments

>There's no way this conditional is a well-defined named concept

Sure about that? I'm saying if it is then extracting as a method might be clearer. All depends and these are other options.

maybe two well-named concepts then? If you're unable to reduce it at all, I'd consider that a code smell.