Agile principles, patterns, and practices in C# / Robert C. Martin
https://druss.co/wp-content/uploads/2013/10/Agile-Principles-Patterns-and-Practices-in-C.pdfComments
Log in to leave a comment
Continue with Google今天學到兩個Principle, 一個是Single-Responsibility, 一個class要讓他只負責一件事, 或者說要讓他被修改的情形只有一種; 另一個是Open-Close, 要讓class被繼承時很開放, 而被修改時則是封閉而不影響其他class
Customers! They are always ruining your designs. Writing software would be a lot easier if it weren't for customers.
?
用一個章節來做pair programming的實際例子, 感覺好生動
驗證是以story為單位,而不只是一個function喔!
關於重構, It takes attention. It takes discipline. It takes a passion for creating beauty!!
test-driven開發方式,建議在開發程式之前,先寫一個會讓你fail的測試程式,且不用寫太多,可以發生fail就好;然後才去開發主程式,也不用寫太多,剛好可以pass就好。蠻有趣的??
理想的extreme programming 透過不斷輪流pair programming, 讓團隊中每個人都能了解每一段程式碼, 且讓每個人都有權力對任一段程式碼進行修改, 而commit方式是先搶先贏, 後來的要進行merge. 感覺會很充實很強大啊
clean code!
Preview
Read the linked page right here, without leaving LinkComment.
This site refuses to be embedded
It sends headers that forbid other sites from framing it, so it can only be opened directly.