3 ms·
I understand what you're saying, but I can see certain devs having a problem with introducing extra variables only to use them in a single conditional. Not that
by RussianCow 11y ago
I understand what you're saying, but I can see certain devs having a problem with introducing extra variables only to use them in a single conditional. Not that I agree with that, but that's the only reason I can come up with.
- seanwilson 11y agoWhat's wrong with introducing an extra variable compared to introducing a comment?
- RussianCow 11y agoWell, many developers will eschew the comment as well. :)