I remember back in Year 8 IT, we were asked to put our routine for preparing to go to school in pseudocode. In the spirit of IFs, THENs and ELSEs, I will try to compress my daily routine (on weekdays) in as few words as possible, whilst also staying comprehensible.
procedure routine;
Waking up at 06:15
THEN
Make bed
THEN
get dressed
THEN
have breakfast - porridge
THEN
brush teeth
THEN
Travel to school
IF available, go by car
ELSE via public transport
THEN
School for about six hours
IF club available
THEN stay at school for another hour and then leave
ELSE Go back home by public transport
THEN
Have dinner
THEN
listen to music
ELSE writing
ELSE prepare blogpost
THEN
Prepare to go to bed, around 22:30
IF Friday, go to bed later
end routine
Soon: my routine in C, then in Python, then everyone will get sick and tired of the concept.
I like this very much
ReplyDelete