York Jong's Library tagged → View Popular
16 Nov 09
石頭閒語:擁抱變化,從函數指標到函數個體 - 樂多日誌
有一天,"偉大的"架構設計師交代甲和乙兩位程序員共同負責撰寫一個小程式。這個程式配置了兩個陣列,一個是傳統的整數陣列,一個是整數vector。這個程式要將這兩個陣列的內容傾印出來。
30 Jun 07
Strong Typing vs. Strong Testing
-
Most
Python tests happen at runtime rather than at compile time, but they do happen,
and that's the important thing (not when). -
If it's not tested, it's broken.
- 3 more annotations...
為何 Java 7 要加入 Closure
-
Closure 原意 - 將自由變數代入 (binding) 其他值
-
"可直接處理 block 外資源的不具名函數",在撰寫程式非常有用的,尤其對很小的邏輯而言。如果 java 有 closure,
很多重覆的程式碼都可以去除
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in Java
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
