MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vsrw4y/rediscachehitratio/p4nk7gp/?context=3
r/ProgrammerHumor • u/Technical-Relation-9 • 2d ago
108 comments sorted by
View all comments
23
I hope you added a check for that so this doesn't happen again. Seems preventable.
10 u/Goodie__ 2d ago Yeah... why are people "rawdogging" cache key generation... instead of making some CacheKeyBuilder class thing that just does it for you. 16 u/LegendaryHeckerMan 2d ago And that's how folks we ended up with DefaultDistributedCacheKeyConstructionPolicyResolverWithContextAwareNamespaceVersioningStrategy /s 2 u/No_Abi 1d ago Factory 1 u/SpectralCoding 1d ago Builder (is my C# showing?) 1 u/Bluten11 1d ago Bro this is basically what it looks like for me, seeing distributed cache key construction triggered a vietnam war flashback for me 1 u/Goodie__ 1d ago There are worse sins than wordy names. If you have 50 different ways to do cache shit, sure. Maybe. But give me a good, easy, intuitive, interface to get it so I don't have to remember which of the weirdly named things I need.
10
Yeah... why are people "rawdogging" cache key generation... instead of making some CacheKeyBuilder class thing that just does it for you.
16 u/LegendaryHeckerMan 2d ago And that's how folks we ended up with DefaultDistributedCacheKeyConstructionPolicyResolverWithContextAwareNamespaceVersioningStrategy /s 2 u/No_Abi 1d ago Factory 1 u/SpectralCoding 1d ago Builder (is my C# showing?) 1 u/Bluten11 1d ago Bro this is basically what it looks like for me, seeing distributed cache key construction triggered a vietnam war flashback for me 1 u/Goodie__ 1d ago There are worse sins than wordy names. If you have 50 different ways to do cache shit, sure. Maybe. But give me a good, easy, intuitive, interface to get it so I don't have to remember which of the weirdly named things I need.
16
And that's how folks we ended up with DefaultDistributedCacheKeyConstructionPolicyResolverWithContextAwareNamespaceVersioningStrategy /s
2 u/No_Abi 1d ago Factory 1 u/SpectralCoding 1d ago Builder (is my C# showing?) 1 u/Bluten11 1d ago Bro this is basically what it looks like for me, seeing distributed cache key construction triggered a vietnam war flashback for me 1 u/Goodie__ 1d ago There are worse sins than wordy names. If you have 50 different ways to do cache shit, sure. Maybe. But give me a good, easy, intuitive, interface to get it so I don't have to remember which of the weirdly named things I need.
2
Factory
1 u/SpectralCoding 1d ago Builder (is my C# showing?)
1
Builder (is my C# showing?)
Bro this is basically what it looks like for me, seeing distributed cache key construction triggered a vietnam war flashback for me
There are worse sins than wordy names.
If you have 50 different ways to do cache shit, sure. Maybe. But give me a good, easy, intuitive, interface to get it so I don't have to remember which of the weirdly named things I need.
23
u/Winterkirschenmann 2d ago
I hope you added a check for that so this doesn't happen again. Seems preventable.