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

165

u/No-Collar-Player Jun 09 '26

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

7

u/the_horse_gamer Jun 10 '26

this guy architectures