Agile principles, patterns, and practices in C# / Robert C. Martin  

C#, Design Pattern

Created at 09:03 May 30, 2017

Comment

今天學到兩個Principle, 一個是Single-Responsibility, 一個class要讓他只負責一件事, 或者說要讓他被修改的情形只有一種; 另一個是Open-Close, 要讓class被繼承時很開放, 而被修改時則是封閉而不影響其他class

7 years ago by lalagrass

Customers! They are always ruining your designs. Writing software would be a lot easier if it weren't for customers. 

7 years ago by lalagrass

?

7 years ago by lalagrass

用一個章節來做pair programming的實際例子, 感覺好生動

7 years ago by lalagrass

驗證是以story為單位,而不只是一個function喔!

7 years ago by lalagrass

關於重構, It takes attention. It takes discipline. It takes a passion for creating beauty!!

7 years ago by lalagrass

test-driven開發方式,建議在開發程式之前,先寫一個會讓你fail的測試程式,且不用寫太多,可以發生fail就好;然後才去開發主程式,也不用寫太多,剛好可以pass就好。蠻有趣的??

7 years ago by lalagrass

理想的extreme programming 透過不斷輪流pair programming, 讓團隊中每個人都能了解每一段程式碼, 且讓每個人都有權力對任一段程式碼進行修改, 而commit方式是先搶先贏, 後來的要進行merge. 感覺會很充實很強大啊

7 years ago by lalagrass

clean code!

7 years ago by lalagrass

Article