r/developer • u/Ok_Veterinarian3535 • Oct 02 '26
The "Code I'll Never Forget" Confessional.
What's the single piece of code (good or bad) that's permanently burned into your memory, and what did it teach you?
15
Upvotes
View all comments
3
u/HiCookieJack Oct 03 '26
Singleton rest templates in spring.
Someone configured an error handler in one part, while another required it to throw the exception.
That was hard to track down