Public bug reported:

Binary package hint: pcmanx-gtk2

1. Telnet ptt.cc
2. Enter the board, named Java
3. Search the article: 1/24 qrtt1        R: [問題] 想請問interface的具體意義
i.e.,
 作者  qrtt1 (愚人)                                                看板  java
 標題  Re: [問題] 想請問interface的具體意義
 時間  Wed Jan 24 07:39:38 2007
─
※ [EMAIL PROTECTED] (汀)》之銘言:
[...]
: 那就是 Liskov Substitution Principle;
: 因為蠻多 OO 設計者容易陷入程式與現實世界性質對應的迷思,
: 將 is-almost-a 的關係當成 is-a 的關係來描述,
: 常聽到的一個例子就是,
: 在數學上正方形是一種矩形,
: 所以就會有人做出一個 Rectangle 的 base class 出來,
: 並讓 Square 繼承它,
: 但是 Square 的 setWidth() 和 setHeight() 都會同時改變寬和高,
: 而 Rectangle 的這兩個 method 並不會如此,
: 當 programmer 以多型方式使用 Rectangle 家族的任何 objects 時,
: 會因此發生 semantic inconsistent 的現象。
: 這類問題的嚴重性在於「程式碼不是只有一個人在維護」時,
[...]

        感謝分享啊,原來這總現象的 keywords 是
4. Select these texts
5. Then, PCMan X 0.3.5 Will Crash

** Affects: pcmanx-gtk2 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
PCMan X 0.3.5 crashed after selecting the special texts.
https://launchpad.net/bugs/84235

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to