Nested Functions Welcome You to Hell
trash > 🐍 test.py > ... 1 def func(): 2 def outer(): 3 def level_1(): 4 def level_2(): 5 def level_3(): 6 def level_4(): 7 def level_5(): 8 def level_6(): 9 def msg(name: str): 10 return f"Hello {name}, welcome to hell." 11 return msg 12 return level_6 13 return level_5 14 return level_4 15 return level_3 16 return level_2 17 return level_1 18 return outer 21 print(func()()()()()()()("Sahil"))
A Python code screenshot shows extremely deeply nested functions that eventually print “Hello Sahil, welcome to hell.” The joke is that a simple greeting is made unnecessarily difficult through absurd levels of function nesting, a relatable reaction to overcomplicated code. EN: A Python code screenshot shows extremely deeply nested functions that eventually print “Hello Sahil, welcome to hell.” The joke is that a simple greeting is made unnecessarily difficult through absurd levels of function nesting, a relatable reaction to overcomplicated code.
#python#питон#programming#программирование#coding#кодинг#nested functions#вложенные функции#overcomplicated code#усложнённый код#developer#разработчик#software engineering#разработка по#debugging#отладка#reaction#реакция#screenshot#скриншот#funny code#смешной код#hell#ад#programmer meme#мем программиста
- @eternalclassic / 30877 2023-04-12
- Type
- image
- Size
- 800×561 · 45.7 KiB
- Mood
- sarcastic, absurd
- Language
- en
- Added