3 ms·
I find it weird that they called it `cache` instead of `cached` which would be more in line with `cached_property`. One of my colleagues already tripped over th
by codethief 6y ago
I find it weird that they called it `cache` instead of `cached` which would be more in line with `cached_property`. One of my colleagues already tripped over this today when he told me about this new feature.
- bobbylarrybobby 6y agoPython has a lot of weird naming choices. Heck, they didn’t even Putin underscore in their new string method `removeprefix`
- dec0dedab0de 6y agoWell one is a type of property and the other is saying cache what I'm decorating
- delaaxe 6y agoThey wanted to match `@functools.lru_cache`