4 ms·
> WET One of the most difficult to argue comments in code reviews: “let’s make it generic in case we need it some place else”. First of all, chances that we n
by YeBanKo 5y ago
> WET
One of the most difficult to argue comments in code reviews: “let’s make it generic in case we need it some place else”.
First of all, chances that we need it some place else aren’t exactly high, unless you are writing a library and code explicitly design to be shared. And even if such need arises, chances of getting it right generalizing from one example are slim.
Regarding the book though, I have participated in one of the workshops with the author and he seemed to be in favor of WER and against “architecting” levels of abstraction before having concrete examples.