- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
Programmer: “Does that mean it’s free?”
Cashier: stabs you in the face
Undefined behavior can go bad quickly.
Could go the other way though. Ask them nicely if they’d be willing to free up their heap of inventory, and if they return you a cart overflow, you know you’ve stumbled upon the ultimate zero day coupon.
I give money to cashier, change comes out of coin dispenser. I say “Looks like I won again!”, cashier dies a little inside.
Every time.
deleted by creator
No, but these nulls might indicate references that previously pointed to memory that was freed.
Free olives, the cost is listed as 0.
null != 0
Depends.
can I get uhhhhh NullPointer Exception: Object reference not set to an instance of an object.
sorry we only have Exception in thread “main” java.lang.NullPointerException, is that okay?
How about
Class lol : Object { public static init void main (string args) { virtual void A_Start() { Java.Print(args) break } } }
In case it’s not clear, I know nothing about Java.
that’s how I like my coffee
It is funny, it’s just that the amount of funny is null.
In a country where Null literally means zero? Awesome
*olives > /dev/null
Mmh nice, nullives.
When you buy these an exception is thrown.
Isn’t NULL a macro in C for 0? So doesn’t that mean these items are free?
Programming aside electric self edge labels are the future. Where I work we do paper labels for about 50 pretty small stores and use best part of 30,000 sheets of paper a week.
I imagine with inflation causing an increased frequency of relabeling and relabeling costs causing an increased rate of inflation, it’s only a matter of time before I become too lazy to finish this joke.
deleted by creator