4 ms·
No apologies needed. It was a fair assumption and I do agree with your points, although I think I've come to move more in the other direction the last few years
by lugg 8y ago
No apologies needed. It was a fair assumption and I do agree with your points, although I think I've come to move more in the other direction the last few years.
Those perfect one line fixes are great but they approach their limits and eventually need to be refactored. This is natural and should not be frowned upon. Likewise you can't just refactor all the time, one line fixes are faster and less costly in all sorts of ways. The key is to pick and choose when to use each strategy.
I think we're too often looking for simple rules. There are none. Just a bunch of guidelines.