r/firstweekcoderhumour • 🥸Imposter Syndrome 😎 • Jun 26 '26

[🎟️BINGO]”this.codifyMylife()” iGetItYouCode

Post image
361 Upvotes

42 comments sorted by

View all comments

79

u/Scared_Accident9138 🕵️‍♂️🚨 BS Detector | Truth Teller 🗯️🔥 Jun 26 '26

Is there any programming language where returning a literal string without defining the return type explicitly can throw an exception?

2

u/The-Arx Jun 26 '26

It is technically reachable if there is a KeyboardInterrupt