My second app letter
I wrote this `diary' based on the thought ofTuesday, Mar 6, 2007 Fine
"The stranger, the better" :)
/* 7:30 AM */ So tired last night! Until 3:00 AM I wrote programs! So late my computer teacher told me that I could take part in that IT competition - only five days I have until to submit my work... I stepped into the school with these complains in my head.
'Good moning, Dr. Yuan!' I raised my head and saw that classmates who on duty standing by the school gate were smiling to me. Suddenly I remembered: I have to teach classmates "Intro. to JavaScript" today. Yet another work...
/* 2:15 PM */ 'Well, today we are going to learn the "JavaScript" programing language, the most misunderstood language in the world. Write down new technical terms, please...' I have used of this after giving about 5 lectures. It is just another type of rest. '...OK, remember, don't analyze a recursion in the view of state-changing, just proof it by applying mathematical induction. OK, I will ask you about why this procedure runs so slowly next time!' However, this "rest" did made me thirsty.
/* 5:30, after school */ I decided to leave tonight, I must go home and complete my work. I had accomplished the regular expression replacement part last night, now I'm considering of the functions defination part, which is the most significant part of the implement of my programing language "Mazy".
'I...I want to leave tonight, Miz Xu.' I sad in a unnatural voice.
'Oh, OK. Well, you plan to write your program as soon as you go home, don't you?'
'Ah, yeah... yes.'
'What about your homework? Try to it at midnight but fall asleep?'
'Maybe...'
'Maybe you can finish it rapidly at school. Concentrate on it. Is it a better plan? In my memory, you haven't leave night-studies at all. By the way, how about your work?'
'It'll be the best.' I left and attended the night-study.
/* 8:00 */ Fortunately, I finished my homework. I used the remainder of the time to teach my two prentices Structure and Interpretation of Computer Programs.
'Ye! Zhou! Have you two done your homework? Sit closer. It's time to learn SICP!' I opened the book.
/* 9:00, way home */ Sky, black sky. Lights, orange light. We, god created. Laughter, we produced. So lucky I am, at least I can laugh with friends. Many adults have no real smile, I known, and I won't be one of them.
'Good luck, Yuan. I have read your Mazy Guide. If you finish it, I'll be the first user!' Ye said to me.
Wednesday, Mar 7, 2007 Dark
/* 3:00 AM */ I think I need some coffee... I have traced this strange bug for two hours - the function that the translater constructed can never be actived. The codes seems right, but the object couldn't be called. I stared at the shell, the characters were dancing... Have I failed?
"If you finish it, I'll be the first user!"
Of course you are. A good programer will never abandon his program, can a man like me who determines to be a computer scientist surrenders to his codes? No pattern match, no static type inference, if such a simple programing language I can't handle, how can I invent a language that superior to Haskell? I was born to win. Redesign this part.
/* 4:00 */ The new function-producing frame works, after I rewrited at least 100 lines codes. Sleep.
-- ZhiHao Yuan
