GandhiTheDerg@pawb.social to Programmer Humor@lemmy.ml · 1 year agoPersonally I prefer throw new nullpointerexceptionpawb.socialimagemessage-square13fedilinkarrow-up132arrow-down10
arrow-up132arrow-down1imagePersonally I prefer throw new nullpointerexceptionpawb.socialGandhiTheDerg@pawb.social to Programmer Humor@lemmy.ml · 1 year agomessage-square13fedilink
minus-squarelowleveldata@programming.devlinkfedilinkarrow-up0·1 year agoI have never used System.exit() or sys.exit(). What is a use case where you would call these explicitly?
minus-squareepyon22@sh.itjust.workslinkfedilinkarrow-up1·1 year agoApplications where you aren’t using some sort of framework. Usually MVC or other frameworks would handle this or are designed to continuously run.
I have never used
System.exit()
orsys.exit()
. What is a use case where you would call these explicitly?Applications where you aren’t using some sort of framework. Usually MVC or other frameworks would handle this or are designed to continuously run.