Feeds:
Posts
Comments

Archive for May, 2008

FAQ

A bad FAQ sheet is one that is composed not of the questions people actually asked, but of the questions the author wished people had asked. (Karl Fogel/Subversion)

Read Full Post »

孩子快
抓紧妈妈的手
去天堂的路
太黑了
妈妈怕你
碰了头

抓紧妈妈的手
让妈妈陪你走
  
妈妈

天堂的路
太黑
我看不见你的手
自从
倒塌的墙
把阳光夺走
我再也看不见
你柔情的眸
  
孩子
你走吧
前面的路
再也没有忧愁
没有读不完的课本
和爸爸的拳头
你要记住
我和爸爸的摸样
来生还要一起走
  
妈妈
别担忧
天堂的路有些挤
有很多同学朋友
我们说
不哭
哪一个人的妈妈都是我们的妈妈
哪一个孩子都是妈妈的孩子
没有我的日子
你把爱给活的孩子吧
  
妈妈
你别哭
泪光照亮不了
我们的路
让我们自己
慢慢的走
妈妈
我会记住你和爸爸的模样
记住我们的约定
来生一起走

Read Full Post »

It turns out that when you are really really sleepy your favorite pieces of code are always the most ‘obvious’ ones. Thinking is not fun in the middle of the night, and it shouldn’t be necessary all of the time.

Not surprisingly, elegance comes from taking something ‘hard’ and finding the simplest, most obvious answer, thus making it look ‘easy’.

Read Full Post »

require: load a Module (use-a)
include: inherit a Module (is-a)

Then why “require rexml/document” and “include REXML”?
The require statement loads the REXML library. Then we include the REXML namespace, so we don’t have to use names like REXML::Document all the time.

BTW:
include: inherit instance-level methods
extend: inherit class-level methods

Read Full Post »