yes. this is what I call an intuitive API. When I ...
# announcements
d
yes. this is what I call an intuitive API. When I started to use (and learn it) I often was in situations like "hmm... I need a duration between two dates, is there such thing as "Dur.." <Ctrl+Space>... Right!
Duration
! Is there a "Duration.bet..." Right!
Duration.between()
! Now, can I convert it to... Right! `Duration.between(date1, date2).toDays()`" And I'm like - "wow! It actually follows my thought process". This is just impressive design.