124

Some guy: "PLEASE CALL AN AMBULANCE!"
Me: Ambulance();

Still don't know what I did wrong 🤷

Comments
  • 8
    🤦

    Wrong constructor!
  • 12
    new Ambulance();?
  • 2
    hahahaahaha, you are a python dev i recon :P ?
  • 8
    var ambulance = new Thread(Ambulance);

    ambulance.start();
  • 5
    @HampusMa NullPointerException
  • 1
    @hack it's not Java though
  • 6
    $location = geoip();

    $call = Phone::getInstance()->dial(911);
    $call->when($call->engaged, fn($conversation) => $conversation->say("injured person at {$location->address}. Attempting to clear area while awaiting backup or further instructions."));
  • 1
    Nothing wrong.
  • 1
    Didn’t pass the patient and driver in init() 🤔
  • 0
    Surely it's:
    ambulance.call(this);

    How else would the know the current context?
  • 1
    @Franboo but he should call the ambulance, not the other way around

    It should rather look like this:
    this->call(help::ambulance);
  • 0
    Wrong!

    It must be new Ambulance().call();
  • 0
    @ladiesman why create a new ambulance object each time when you could preallocate a couple of ambulance objects in advance and then call one from that pool? That way, it'll also arrive faster, since it spends less time allocating resources in case of an emergency
  • 0
  • 2
    Lest the man die before you guys debug😂.
    I meant in a fun manner
  • 5
    The patient died because we were too busy discussing the correct syntax.
  • 1
    He didnt ask you to call Ambulance, he asked you to window["an ambulance"]();
Your Job Suck?
Get a Better Job
Add Comment