csharp8 lines
7.1/10
NASTY
AI ROASTFired at 10 ratings - once per post
A static Dictionary with zero locking and you're calling it a cache. Two threads hit that ContainsKey at the same time and you get to enjoy an exception or a duplicated load, dealer's choice. This is a race condition wearing a name tag.
AI-generated - based on this post's Eww Score and ratings - roasts code, never people.