3 ms·
In haskell passing a bool is still considered an anti pattern, it's called boolean blindness. This is mostly because bool's don't carry semantic information. S
by Tarean 8y ago
In haskell passing a bool is still considered an anti pattern, it's called boolean blindness. This is mostly because bool's don't carry semantic information.
Same goes for `Optional<T>` in an argument position, though https://github.com/quchen/articles/blob/master/algebraic-blindness.md https://github.com/quchen/articles/blob/master/algebraic-bli...