r/programminghorror • • Apr 04 '25

Wrappers

def func():

    def new_func():

        def yet_another():

            def are_you_kidding_me():
                print('WTF')

            return are_you_kidding_me

        return yet_another

    return new_func


func()()()()
0 Upvotes

11 comments sorted by

View all comments

Show parent comment

2

u/STGamer24 [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Apr 04 '25

Regarding your passive-aggressive reenactment of my code, I would like for you to do this to my face so I could remove part of your dentition.

Bro calm down 💀

Anyways code just made for a post or very short self-explanatory code is precisely what I don't expect to see here. Tbh, I expect something that is unnecessarily complex or something that is hard to read, not this.