2 ms·
`then` is definitely less intuitive than `map` considering that you actually want to, well, map to something else. Semantically, `then` would be equivalent to
by _kidlike 2y ago
`then` is definitely less intuitive than `map` considering that you actually want to, well, map to something else.
Semantically, `then` would be equivalent to `ifPresent`, but, well, then both are intuitive.
- funcDropShadow 2y agoNothing is intuitive on its own. Intuitiveness is a property of the relation between a thing and and some subject. Whether `map` is more intuitive than `then` depends on that subject. Without assuming a target audience, it is futile to design a library to be intuitive. Intuitive is that, for which we already have built an intuition.
- ljlolel 2y agoIn UX, there is nothing intuitive, only familiar Although have you seen that video of a chimpanzee browsing Instagram? Or a parrot using zoom?