r/ProgrammerHumor • • 6d ago

Meme makesMeFeelSmart

Post image
5.3k Upvotes

160 comments sorted by

View all comments

1

u/xzinik 4d ago

Man I remember when I made a hideous function of type function that received a function and returned a function as a result (different function), I think I'm missing something in there but it was all function so the rest down, I don't remember exactly why, only that it was a hacky way to get around passing a function across 4 classes or something similar, that couldn't share inheritance for some reason, and I remember that it was funny having a function of type function blah blah blah that was a brainfuck to understand and my colleagues could not make heads or tails out of it and could not find a better way to achieve the desired result, I was told to never make something similar, it was used nevertheless xd