I'm just completely baffled by this piece of code I just found in one of our classes:
Seriously, what the fuck is that about? How is that clearer, cleaner, better or more reliable than just making the three calls in a row? I can understand trying to refactor it out into something more clever and more expressive, but this is just wordy crap that obscures what you're doing.
Some days, I despair ...
No comments:
Post a Comment