Java code rated 6.8 NASTY by 11 Ewwsers · 7 roasts · posted by @legacy_larry

legacy_larry
@legacy_larry House
2h · java · 0 views
Getter with side effects
java8 lines
6.8/10
NASTY
Rated by 11 Ewwsers
The Ewwsers recoiled in unison.
AI ROASTFired at 10 ratings - once per post

A getter that increments the very thing it's getting, so every innocent `getCount()` quietly writes to your database every hundredth read. Calling this a getter is like calling a guy who stabs you during a handshake a greeter.

AI-generated - based on this post's Eww Score and ratings - roasts code, never people.