zombie icon indicating copy to clipboard operation
zombie copied to clipboard

Why three alias functions `but-{it,he,she}`?

Open piotr-yuxuan opened this issue 6 years ago • 0 comments

According to the README.md, data can be "modeled" with the following functions:

is-like
but-it
but-he
but-she

I have a simple question about code style and legibility: why three alias functions but-{it,he,she} which have the exactly same semantic? wouldn't be more clj-idiomatic to capture this semantic in a single fn name?

It's a tiny, unimportant question but I'm interested in why you made this design choice 🙂

piotr-yuxuan avatar Oct 30 '18 14:10 piotr-yuxuan