3 ms·
Depends on the use case. YAGNI? The presented function is very simple to read and understand what it does. Of course in Python you could parametrize the predic
by fulafel 6y ago
Depends on the use case. YAGNI? The presented function is very simple to read and understand what it does.
Of course in Python you could parametrize the predicates or the attributes or attribute values, and it would still be fine FP code.