Amazon.com Widgets

Browse by Tags

Design Guidelines Update: "Core" Method pattern
Minor tweaks to this guideline to line up with what is, I believe, common practice already.. As always questions, comments and annotations to me, and the full guidelines can be found here: http://www.gotdotnet.com/team/libraries ---------- It is recommended Read More...
Pointer Arguments
Somewhat of a niche guideline... but I got questions internally so it seemed worth writting it down and sharing with you. As always, comments welcome -------------------------------------------------- It is very rare but possible to use pointer arguments Read More...
Avoid non-zero based integral indexers for collections
I am clearing out a backlog of Design Guidelines issues... Do use zero based indexes if the collection is integral indexed. Annotation (BradA): In designing the first version of the .NET Framework we went around and around on using zero or one based indexes Read More...
Minor update to the base class guidelines
Fairly minor update -- as always, let me know if there are questions or comments. --------------------------------------------------------- Consider using abstract classes (even if there are no abstract members) if the class is designed to be a root in Read More...
Design Guideline Update: Explicit Member Implementation
Long overdue update the the guidelines on Explicit member implementation. As always, feedback welcome. Explicit Member Implementation Explicit member implementation allows an interface member to be implemented such that it is only available when cast Read More...
Small Design Guideline Update: Overriding Exception.ToString
One of the folks on my team just added a minor update to the Design Guidelines document about overloading ToString() on Exceptions. As always, comments are welcome. Do override ToString when your exception provides extra properties. The code handling Read More...
Design Guidelines Update: Variable Number of Arguments
Based on some very good feedback from Eric Gunnerson , I recently updated the Design Guidelines with some more info on Params. As always, comments welcome. Have a guideline that is consistent with the current set that you’d like to see added? Write Read More...
Design Guidelines Update: Implementing Interfaces Privately
Another one hot off the presses... As always you comments are welcome. Consider implementing interface members privately (explicitly), if the members are intended to be called only through the interface. This includes mainly members supporting some framework Read More...
Subclassing Usage Guidelines
Hot off the presses.. I just added this to the working draft fo the Design Guidelines document internally. As always, comments welcome. 4.1.2 Subclassing Usage Guidelines One of the advantages of an object oriented environment is that developers can extend Read More...
Assembly/DLL Naming Guidelines
I have not seen this be much of debate externally, but it has been pretty hotly debated internally. We just closed down on this guideline... As always, your comments are welcome: 2.3.4 Assembly/DLL Naming Guidelines An assembly is the unit of deployment Read More...
Implementing IEnumerable
Hot off the presses... What do you think? ..brad Implementing IEnumerable Almost all collections expose some way to enumerate elements it contains. The IEnumerable interface encapsulates this notion such that common facilities can be built that work on Read More...
Implementing ICloneable
I was doing a little work on the Design Guidelines document tonight and I noticed this section that we added recently. I thought I'd post it here for your comments. Where are you using ICloneable today? Do you agree with this suggestion? 1.1 Implementing Read More...
Conversion Operators
One of my many jobs here at MS is helping out with the .NET Framework Design Guidelines Document. Tonight I had to make a small tweak to a guideline I added last week so I thought while I was in there I would post it here to see if folks had comments. Read More...
More Posts « Previous page

Search

This Blog

Syndication

Page view tracker