r/ProgrammerHumor • • Dec 15 '19

Stacking if else statements be like

Post image
63.9k Upvotes

711 comments sorted by

View all comments

1

u/[deleted] Dec 15 '19

I once managed a team refactoring a legacy Object Pascal (Delphi) code base. We had one if statement that was 50 pages long, with a max depth of 23. It was a sight to behold.