all 47 comments

sorted by: hot top controversial new old
[–] 66 points 3 years ago (6 children)

Programmer: "Does that mean it's free?"

Cashier: stabs you in the face

  • source
  • hideshow 12 child comments
  • [–] 7 points 3 years ago (1 child)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 3 years ago

    Long long ago in a callcenter not too far away, I made a guy choke on his drink. As required, I asked if there was anything else he needed before I ended the call, to which he replied "the winning lottery numbers?" I said "if I had those, I wouldn't be talking to you."

  • source
  • parent
  • [–] 2 points 3 years ago

    I worked in groceries story when I was younger.

    But funily enough, it's probably one of the rare times I'd have answered "yes"!

    We got a policy here where anything mislabelled under 10$ is free for the first item. Anything over 10$ gets a 10$ rebate.

    My understanding is that it was put in place a while ago when stores stopped labelling individual items to keep them in check and ensure that consumers had a recourse in case of mistake.

    Source: https://www.opc.gouv.qc.ca/en/consumer/topic/price-discount/store/tip-sheet/

    NULL being "no money" by any definition, and the regular price for this probably being under 10$... well, it's probably free!

  • source
  • parent
  • [–] 23 points 3 years ago (1 child)

    can I get uhhhhh NullPointer Exception: Object reference not set to an instance of an object.

  • source
  • hideshow 2 child comments
  • [–] 7 points 3 years ago (2 children)

    sorry we only have Exception in thread "main" java.lang.NullPointerException, is that okay?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 3 years ago

    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.

  • source
  • parent
  • [–] 16 points 3 years ago

    !softwaregore@lemmy.world

  • source
  • [–] 13 points 3 years ago

    Mmh nice, nullives.

  • source
  • [–] 11 points 3 years ago

    It is funny, it’s just that the amount of funny is null.

  • source
  • [–] 11 points 3 years ago (1 child)

    When you buy these an exception is thrown.

  • source
  • hideshow 2 child comments
  • [–] 9 points 3 years ago

    At least, the CSS works

  • source
  • [–] 9 points 3 years ago

    Item labels only do this when they're very stressed

  • source
  • [–] 6 points 3 years ago (4 children)

    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.

  • source
  • hideshow 8 child comments
  • [–] 2 points 3 years ago (1 child)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • 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.

  • source
  • parent
  • [+] 1 point 3 years ago* (last edited 2 years ago) (1 child)
  • [–] 6 points 3 years ago (1 child)
  • [–] 3 points 3 years ago (1 child)
  • [–] 5 points 3 years ago (1 child)

    Free olives, the cost is listed as 0.

  • source
  • hideshow 2 child comments
  • [–] 4 points 3 years ago

    Don't try to buy it unless u want the register to open a black hole when the cashier puts it in.

  • source
  • [–] 4 points 3 years ago

    *olives > /dev/null

  • source
  • [–] 3 points 3 years ago* (last edited 3 years ago) (4 children)

    Isn't NULL a macro in C for 0? So doesn't that mean these items are free?

  • source
  • hideshow 8 child comments
  • 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.

  • source
  • parent
  • [–] 2 points 3 years ago

    In a country where Null literally means zero? Awesome

  • source