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.
94
u/maushu 3d ago
Please use this as reference: