Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
function day() {
do {
if(baby.sleeps()) {
try {
sleep(getAlarmTime() - getTime());
} catch (e) {
wakeUp();
}
}
} while (getTime() < getAlarmTime());
eat(breakfast);
commute(work);
work();
eat(lunch);
work();
commute(home);
cook(dinner);
eat(dinner);
switch (babyStatus) {
case 'awake':
entertainBaby();
break;
case 'asleep':
if(getRandom(1, 100) === 100) {
doSideProject();
} else {
playOverwatch();
}
}
return;
}
undefined
wk4