奇怪的程式風格

應該也看過不少open source的程式吧,今天看到libxnee裡面的 xnee_record.c 時,看到一段code
if  ( (xd == NULL)
      ||
      (xd->control == NULL)
      ||
      (xd->record_setup == NULL))
真不習慣的寫法,最近看小朋友的書有一句話–心智顯現其樣貌,就是他的行為就是他的內心,不講話可能就是生氣之類的。

程式顯現其思考模式,為甚麼要分段思考呢?

This entry was posted in 電腦和網際網路. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s