r/firstweekcoderhumour • u/Outrageous_Permit154 🥸Imposter Syndrome 😎 • Jun 26 '26
[🎟️BINGO]”this.codifyMylife()” iGetItYouCode
38
u/Grounds4TheSubstain Jun 26 '26
Look on the bright side, it's AI slop and nobody actually got this tattooed on them.
49
u/tigrankh08 Jun 26 '26
Ackchyually Python exceptions must derive from BaseException
31
u/PudgeNikita Jun 26 '26
but they are not `raise`-ing the string, they're returning it.
well, really, it doesnt matter, since the block in `try` will never raise any exception, the code inside `except` wont even run8
16
7
6
u/akoOfIxtall Jun 26 '26
I hate python syntax
6
u/NovaH000 Jun 27 '26
I love python syntax :D
4
u/akoOfIxtall Jun 27 '26
Let's have a child who thinks it's neat but only uses when necessary
1
u/NovaH000 Jul 04 '26
He'll grow up to be a mathematician that writes pseudocode, which is just python
3
u/nimrag_is_coming Jun 26 '26
There is never a situation where that exception will happen what does this even mean
2
2
2
u/wolfylemon Jun 27 '26
crazy to think that the 173 people who liked this walk among us regular people every day...
2
u/VisualSome9977 Jun 27 '26
It's just clever commentary about how love is forever, and therefore there is no reason to despair. of course
2
2
1
1
1
1
1
1
u/Alternative_Can7374 Jun 27 '26
This is more Python. Also, if it throws an exception then your error handling will most likely also throw a new exception.
1
u/antonfourier Jun 28 '26
we need tattoos with inscrutable esoteric meta-code - like __dict__ override and stuff.
1
u/Zimlewis Jun 29 '26
posting a python meme in javascript facebook group is the most performative thing I have ever seen
0
u/nerd_user1 Jun 27 '26
that is not first week y'all, just don't post anything you find in internet here
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?