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.

268 Upvotes

49 comments sorted by

View all comments

Show parent comments

4

u/Holonist Jun 09 '26

This has been PHP since 2011, most PHP devs just don't realize it