whitfin / cachex

A powerful caching library for Elixir with support for transactions, fallbacks and expirations
https://hexdocs.pm/cachex/
MIT License
1.6k stars 104 forks source link

Revisit parameter names and make things more intuitive #370

Closed whitfin closed 2 months ago

whitfin commented 2 months ago

This one that triggered this is incr and decr using the name :initial, I'm not sure why I didn't use :default. Rather than file an issue just for that, let's go over everything in the main interface at the same time and make sure naming makes sense.