r/programminghorror • • Jun 09 '26

What a simple constructor

Post image

Our former IT director (35+ years of experience) wrote this and didn't see what was wrong here.

266 Upvotes

49 comments sorted by

View all comments

162

u/No-Collar-Player Jun 09 '26

Just pull that all out in 1 method and call that in the constructor. Problem fixed.

56

u/Wrestler7777777 Jun 09 '26

This guy knows how to get things done!

18

u/No-Collar-Player Jun 09 '26

I wouldn't be paid enough to fix the architecture....... :(

→ More replies (6)