推薦一個很棒的 Design Blog. "Krzysztof Cwalina"
為什麼推薦 ?
Krzysztof Cwalina 是 .NET Framework API Design Team 的 Program Manager, 他也寫了 一本 Framework Design Guidelines (Addison-Wesley, 2005). 目前他則是負責 微軟內部 .NET Framework Design Team 的設計準則.
在他的 Blog 中, 整理了很多 他對 Framework Design 的規劃與建議. 在你沒有買他的書本之前, 這是個很好的資源你可以欣賞他的 規畫與想法.
How to Design Exception Hierarchies
I still get a lot of questions on how to design exception hierarchies, despite several attempts to describe it in talks, the FDG book, and in posts on this blog. Maybe the guidance gets lots in the in the complexities of the full guidance surrounding Read More...
System.TimeZone2 Naming ... and related design guidelines
There is an interesting discussion on the BCL blog about a new BCL type called TimeZone2. Just take a look at the comments below the System.TimeZone2 Starter Guide post. The new type supersedes an existing type called TimeZone (which is obsolete now). Read More...
Clearing Enum Flags
UPDATE: It looks like I am confusing a lot of people with this article. I wanted to write an article about something else than the title suggests (how flags enum are built) but I did not explain it well and what’s more important I forgot to mention the Read More...
Choosing the Right Type of Exception to Throw
My last post about the ApplicationException resulted in some questions along the lines of “so, if not ApplicationException, what should I throw instead?” The answer to this question is partially covered by my old post on Exception Throwing and partially Read More...