2 ms·
function isFound(item) { return item.found; }; Every time I see this pattern in code (one line accessors) I have a sinking feeling in my stomach in exp
by tomxor 7y ago
function isFound(item) {
return item.found;
};
Every time I see this pattern in code (one line accessors) I have a sinking feeling in my stomach in expectation of whats to come.
This is the best example of a forced pattern.