יום עבודה בחברה סולידית ומסודרת:
int main()
{
arrival_time = 9:00;
total_coffee = 0;
total_coffee++;
// read new emails:
for (email in mailbox)
{
if (from_boss(email))
{
task = read_mail(email);
task.init();
}
else if (contains_photos_of_cats(email) || contains_Dali_Lama_sayings(email))
{
delete(email);
}
else if (is_funny(email))
{
send_to_friend_with_life(email);
}
}
total_coffee++;
/* move pencil holder from one end of the desk to the other
/*****************************************************
/*INPUT: table with pencil holder on the right
OUTPUT: table with pencil holder on the left
EXCEPTIONS: pencil holder may obscure monitor
/*****************************************************
//
//
//TODO: move pencil holder
//take pencil holder in hand
//
//
grab(pencil_holder);
//move to the other side
//
//
move(pencil_holder, left_desk);
if (pencil_holder->fell_on_the_floor)
start_over();
//end
total_coffee++;
while (hour != 13:00)
work();
//go to lunch
talk_politics();
talk_gadgets();
while (food_on_plate)
{
take_bite(chicken);
take_bite(potatoes);
drink(orange_juice);
wipe_mouth_with_napkin();
}
//back to work!
open_radio_on_galgalatz();
while (hour != 16:00)
work();
//meeting
while (meeting_still_going_on)
{
talk();
draw_on_whiteboard();
yield();
}
//keep working
total_coffee += 5;
while (hour != 21:00)
{
work();
eat_pizza();
}
//finally, lock up the laptop and leave!
go_to_bar();
while (not_drunk)
{
drink('whiskey sour');
cry();
//and home
sleep();
}
יום עבודה בחברה צעירה ובועטת:
int main()
{
arrival_time = 11:00;
while (boss_is_away)
sleep();
// read new emails:
for (email in mailbox)
{
if (from_boss(email))
delete(email);
else if (is_funny(email))
read_out_loud_and_spread();
}
messenger.init();
ICQ.init();
yoga();
decide_to_rewrite_code();
wonder_if_salary_will_come_on_time();
//meeting
while (not_lunch)
{
draw_meaningless_stuff_on_the_whiteboard(squares);
draw_meaningless_stuff_on_the_whiteboard(arrows);
}
if (boss_asks_about_progress)
{
for (buzzword in dictionary)
say(buzzword);
}
shoot_corrupted_CDROMS_into_trash_can();
order_chinese();
for (i = 14:00; i< 14:30; i++)
work();
gossip();
//and the rest of the day
movie = rand(movie_from_server);
watch_movie();
}
הערות:
1. כן, אני יודעת שזה לא מתקמפל, נודניקים.
2. בעבודה החדשה דווקא ממש סבבה לי :-)
טוב, הלכתי להשלים קריאת פוסטים מהשבוע האחרון. אנא סלחו לי, היה לי מבחן, זה לא יקרה שנית (עד המבחן הבא).