Programmer: "Does that mean it's free?"
Cashier: stabs you in the face
Programmer: "Does that mean it's free?"
Cashier: stabs you in the face
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?
When you buy these an exception is thrown.
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.
600 labels per store per week. Seems like a big chunk of the inventory changes price every week, not just some tens of articles for a temporary sale.
It's more. Each a4 sheet has considerably more than 1 label on it. Most weeks there's 90-100 pages of weekly limited offer specials alone. Then every day there's large amounts of regular stock coming onto and off of special offer. Then produce is constantly being adjusted based on seasonality, the current weather (better prices on salad when it's hot etc), and to help sell through (warehouse has accepted some stock with reduced shelf life etc).
Then there's the fact the country I'm from has been experiencing food price inflation at almost 20% this year.
Yep. My work is rolling them out later in the year. The ones we are getting are basic colour eink, I think they can do a little red to highlight special offers. Batteries are supposed to last several years.
Wait these are new for most people? They've been around for years where I live
null null null
Free olives, the cost is listed as 0.
Don't try to buy it unless u want the register to open a black hole when the cashier puts it in.
Isn't NULL a macro in C for 0? So doesn't that mean these items are free?
In a way it's still the same with more modern languages. Especially OOP, setting an object to Null is just setting the address pointer to to 0x00000000.
Hence NullPointerException / NullReferenceException or similar, depending on the language.
I'd guess, in context, it's a floating point price column that hasn't been set, and the table designer didn't specify the column to be NOT NULL.
all 47 comments