Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
hexc11038yMaybe he doesn't know you can manually throw exceptions and is creating one intentionally? Lol -
I can't even... 🤔
@Lahsen2016 just breaks out of the function with no value. -
HAlex27388y@inferiormartin it's still a variable, if the variable is null, it will always throw a NPC exception -
HAlex27388y@inferiormartin ah, didn't know that, years of experience in Java and there's something new to learn, thank you! -
HAlex27388y@inferiormartin just wanted to point out that remove() isn't a static method, but still, thanks. -
HAlex27388y@Hastouki just like what we said almost 4 times: it's a longer method, the return is used to stop the whole method
Related Rants
-
practiseSafeHex31Good Morning!, its time for practiseSafeHex's most incompetent co-worker! Todays contestant is a very special... -
practiseSafeHex11wk87 is a dangerous topic for me, i've been through a lot. I apologise for what I am about to inflict on this ... -
practiseSafeHex20Its Friday, you all know what that means! ... Its results day for practiseSafeHex's most incompetent co-worker...

He should make tutorials: "How to cause an exception"
rant
wk87