– Eller, hvordan starte apokalypsen!
– Eller, hvordan starte apokalypsen!
Anything that can go wrong will go wrong.
Heng ham ikke, vent til jeg kommer
hm. I've lost a machine.. literally lost. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
Assumption is the mother of all fuckups
A programmer is going to the grocery store and his wife tells him, "Buy a gallon of milk, and if there are eggs, buy a dozen." So the programmer goes, buys everything, and drives back to his house. Upon arrival, his wife angrily asks him, "Why did you get 13 gallons of milk?" The programmer says, "There were eggs!
var milk = require('milk');
var customer = require('customer');
var store = require('grocery-store');
if (store.gotEggs()) {
// Buy 12 gallons
customer.buy().product(milk).quantity(12).unit('gallon');
} else {
// By one gallon
customer.buy().product(milk).quantity(1).unit('gallon');
}
var milk = require('milk');
var customer = require('customer');
var store = require('grocery-store');
// Buy one gallon
customer.buy().product(milk).quantity(1).unit('gallon');
if (store.gotEggs()) {
// 12 more gallons
customer.buy().product(milk).quantity(12).unit('gallon');
}
var eggs = require('eggs');
var milk = require('milk');
var customer = require('customer');
var store = require('grocery-store');
// Buy one gallon
customer.buy().product(milk).quantity(1).unit('gallon');
if (store.gotEggs()) {
// 12 eggs
customer.buy().product(eggs).quantity(12).unit('pieces');
}
Principal Engineer, Knowit, Oslo, Norway