GandhiTheDerg@pawb.social to Programmer Humor · 1 year agoPersonally I prefer throw new nullpointerexceptionpawb.socialimagemessage-square31fedilinkarrow-up1452arrow-down17
arrow-up1445arrow-down1imagePersonally I prefer throw new nullpointerexceptionpawb.socialGandhiTheDerg@pawb.social to Programmer Humor · 1 year agomessage-square31fedilink
minus-squareepyon22@sh.itjust.workslinkfedilinkarrow-up6arrow-down1·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.
minus-squarejsveiga@vlemmy.netlinkfedilinkarrow-up16·1 year agoPerl is funnier, as these are valid ways of exiting with an exception: readFile() or die; die unless $a > $b;
Applications where you aren’t using some sort of framework. Usually MVC or other frameworks would handle this or are designed to continuously run.
Perl is funnier, as these are valid ways of exiting with an exception:
readFile() or die;
die unless $a > $b;
I prefer croak.