ME FIRST(我先過) Words of Wisdom. 我是一個拆蛋專家,如果你看到我在跑,一定要跟上。 A fortune to remember. 那不是雞肉 Stay off the course . . . Or else! 任何人(除了運動員),如果在此場地撿球被抓的話,將遭起訴並且他們自己的球球也會被沒收。 Not my job “不關我的事”獲獎者DESPERATE FOR A TICKET TO THE WORLD CUP 給我一張票,我把我妹妹送給你BEST
http://feeds.feedburner.com/kompakarcn什麼是高效程式員的“好習慣“? Rober Miller在Java.net上撰寫了一篇文章,Five Habits of Highly Profitable Software Developers。 簡單的總結如下: Habit 1: Constructor Performs Minimal Work. Ideally, its constructor will only load data into its
今天收到一封郵件,名為:“free mobile for you ” 引用 Dear All. Please pass on to all your friends and relatives the following mail from Sony Erricsson. Sony Erricsson is giving away phones for free. Sony Erricsson is trying word-of-mouth advertising to introduce
QQ群遊僧提供!十進位轉二進位、八進位、十六進位,及其翻轉。 //Decimal to bin Console.WriteLine(Convert.ToString(100, 2)); //Decimal to octal Console.WriteLine(Convert.ToString(100, 8)); //Decimal to hexa
*兩天發了三個首頁確實有汙染版面之嫌,但是最後這個文章實在是非常想跟大家共用(竟然還不是原創!) Martin Fowler發表了關於他在OOPSLA2004(這麼古老!)上的經曆的一篇文章。他們開始討論了GOF的Design Patterns那本書。然後做了一個投票“哪些模式最應該被踢出去”,結果Factory Method
zz from :http://www.artima.com/weblogs/viewpost.jsp?thread=35578See another zz blog: One Expectation Per TestShift Your Paradigm!One Assertion Per Testby Dave AstelsFebruary 23, 2004SummaryFor some time I've been thinking about how TDD tests can be
做為諮詢師,我們經常說要給程式員足夠的安全感,讓他們安心於寫代碼。但是,這種安全感不應該大到讓他們忘記了自己的責任:寫好的代碼。有些責任必須讓他們清楚,提交未通過本地構建的代碼是嚴重的錯誤;組態管理和持續整合是團隊中每個人的責任,而不是某個人的事情。對於自己份內的事,不應當存在任何一種規則使其可以完全免責。參與者只有具備這種敬畏感才能保持思考的習慣。[Posted with iBlogger from my iPhone]
Comparing Strategy and StateThe refactored code consists almost entirely of simple methods in simple classes. This is an advantage in its own right and makes adding new strategies easy. The refactoring relies primarily on the idea of distributing an