Tactics and Strategy

What’s the difference between the adjectives “strategic” and “tactical”?

Tactics is knowing what to do when there is something to do. Strategy is knowing what to do when there is nothing to do.

— Savielly Tartakower

2013.10.28 Monday ACHK

物理定律團 1.4

這段改編自 2010 年 4 月 3 日的對話。

什麼東西是「軟件」,什麼東西是「硬件」,雖然非常客觀,但不是絕對客觀。有時會出現一些模稜兩可的情況。

從這個角度看,一樣東西究竟應該叫做「硬件」還是「軟件」,其實是一種 convention(習俗慣例)。

convention ~ the most convenient labeling system

所謂的「習俗慣例」,「最方便的標籤系統」也。至於那個標籤方法最方便,則需要視乎上文下理而定。例如,對於「硬碟」而言,在一般情況下,我們會標籤為「硬件」,因為「硬碟」是「物件」,你可以用手拿著它;拿著它時,你又可能會擔心稍一不慎,會把它掉在地下弄壞。

但是,如果你是硬碟工程師,你拿著一個硬碟設計圖和同事討論時,那個「硬碟」,就仍然只是一個「設計」,暫時未有實物。那時,你標籤它為「軟件」比較恰當。

同理,什麼東西是「物理定律」,什麼東西是「物理系統」,雖然非常客觀,但不是絕對客觀。有時會出現一些模稜兩可的情況。

— Me@2013.10.28

2013.10.28 Monday (c) All rights reserved by ACHK

Recursion 12.2

Recursion in programming is not paradoxical, because a recursive function is not really calling itself. In a correct recursive function,

1. at least one variable has different values in each iteration, and

2. there is a terminating condition.

That’s why a valid recursion creates no mixing-level problems.

— Me@2012.10.01

— Me@2013.10.28

2013.10.28 Monday (c) All rights reserved by ACHK