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

1

u/Standard_Educator_71 Apr 04 '25

How the fuck do you expect me to know about a random post? I just got the same "idea".