3 ms·
But why?!?! There's no way this conditional is a well-defined named concept and just adds indirection for the sake of line length.
by Spivak 5y 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.
- jaredsohn 5y ago>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.
- brightstep 5y agomaybe two well-named concepts then? If you're unable to reduce it at all, I'd consider that a code smell.