whitfin / cachex

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

Revisit parameter names and make things more intuitive #370

Closed whitfin closed 1 month ago

whitfin commented 1 month 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.