r/ProgrammerHumor • • Sep 30 '26

Meme whatLegacyCodeDoesToDev

Post image
2.0k Upvotes

80 comments sorted by

View all comments

Show parent comment

7

u/OhMyGodItsEverywhere Sep 30 '26

People were complaining things were "too complicated" and "took to long to understand"...morons, the lot of them, too lazy to just read. So I designed a new and innovative system since I'm such a beautiful workhorse.

We have a nice clean wrapper now called `get_func(string, context)`. Here are some inputs and outputs:

  • "bbpl": `beforeBeforePageLoad()`
  • "bppl": `beforePrePageLoad()`
  • "abppl": `afterBeforePagePreLoad()`
  • "bpl": `beforePageLoad()`
  • "pl": `pageLoad()`
  • ...etc, etc...

I was under a ton of pressure, but I got it done all on my own (with no review!) and it "Just WORKS". I didn't have time to write any automated tests to prove that out, but trust me I did some manual spot tests.

And think about it, it scales up so good - we could even apply it to all of our custom code. So flexible.

4

u/EvilCodeQueen Oct 01 '26

I’d laugh, but I’m too busy crying.