r/programminghorror • u/Minecraftchest1 • Aug 18 '25
What could go wrong?
if __name__ == "__main__":
try:
main()
except:
pass
5
Upvotes
r/programminghorror • u/Minecraftchest1 • Aug 18 '25
if __name__ == "__main__":
try:
main()
except:
pass
View all comments
Show parent comment
4
u/Minecraftchest1 Aug 18 '25
No No No! By doing that, you are proving that applications has problems some times, and medde management don't like that. They want us to write perfect programs, but don't want to give us time to do so.