justUseATryBlock Last updated: January 9, 2025 10:45 am By Wats0ns Share Lounge 15 Comments Subscribe Login Notify of new follow-up comments new replies to my comments Label {} [+] Name* Email* Label {} [+] Name* Email* 15 Comments Oldest Newest Most Voted Inline Feedbacks View all comments Longjumping-Touch515 2 months ago Meanwhile JS with anything: Is that a string? AdBrave2400 2 months ago Meanwhile some languages: is that a number? F*** you, Im just gonna assume its an sqrt `byte[] blob[]` klaasvanschelven 2 months ago Casting… What is this, Java? GeneReddit123 2 months ago C: 1 means true and 0 means false. POSIX: 0 means success and 1 means failure. — “Hey program, did you succeed?” “Yesn’t.” DoodooFardington 2 months ago Pycharm is free my brother. SuitableDragonfly 2 months ago If you try to cast in a way that’s invalid, you still get a runtime error. Python isn’t Javascript. Organic-Maybe-5184 2 months ago Did OP confuse it with JS? Python won’t even allow “string” + int_variable Which is permitted in pretty strict C# and C++ (not sure about the latter though) Beneficial-Ad-561 2 months ago Hate to break it to you but the Yaris was discontinued in 2020.. Sync1211 2 months ago Python has casts? PainsChauds 2 months ago Ah yes, I love my car, the 12.69420 NoteClassic 2 months ago Me: 🥔🥔🥔 Excel: Is that a date? P0pu1arBr0ws3r 2 months ago C when you accidentally cast a char to a long and now have a root shell TheVenetianMask 2 months ago The function failed successfully, the reason is someone else’s problem. angry_queef_master 2 months ago yall really just throwing types around huh Jean_darling 2 months ago Try blocks are a lifesaver in coding! Great advice. SearchSearchRecent PostsHomie Checkpoint How do I open this lock? How to clean this stain off chair Mt. Rainier [OC] [6240×3627] Short answer Recent Comments
Meanwhile JS with anything: Is that a string?
Meanwhile some languages: is that a number? F*** you, Im just gonna assume its an sqrt `byte[] blob[]`
Casting… What is this, Java?
C: 1 means true and 0 means false.
POSIX: 0 means success and 1 means failure.
—
“Hey program, did you succeed?”
“Yesn’t.”
Pycharm is free my brother.
If you try to cast in a way that’s invalid, you still get a runtime error. Python isn’t Javascript.Â
Did OP confuse it with JS?
Python won’t even allow “string” + int_variable
Which is permitted in pretty strict C# and C++ (not sure about the latter though)
Hate to break it to you but the Yaris was discontinued in 2020..
Python has casts?
Ah yes, I love my car, the 12.69420
Me: 🥔🥔🥔
Excel: Is that a date?
C when you accidentally cast a char to a long and now have a root shell
The function failed successfully, the reason is someone else’s problem.
yall really just throwing types around huh
Try blocks are a lifesaver in coding! Great advice.