Amazon.com Widgets July, 2004 - Brad Abrams - Site Home - MSDN Blogs

Brad Abrams

Design Guidelines, Managed code and the .NET Framework

July, 2004

  • Brad Abrams

    NullReferenceException or ArgumentNullException

    • 44 Comments
    The API Design Guidelines encourage developers to check all their arguments and thereby avoid throwing a NullReferenceException. If an argument is null and the contract of the method forbids null arguments an ArgumentNullException should be thrown. ...
  • Brad Abrams

    Naming generic type parameters: Dictionary or Dictionary

    • 25 Comments
    There is a good debate going on over in the Whidbey product feedback site . I encourage you to go and chime in one way or another… The team is watching the thread there and looking for feedback. On the surface this looks like a simple issue (more...
  • Brad Abrams

    New FxCop rules from the community

    • 22 Comments
    Four or so years ago when we got serious about FxCop internally one of the main design points we had is that the community would not only find value in the rules we created, but would also add their own. I see today that at least one person has started...
  • Brad Abrams

    The difference between NotSupportedException and NotImplementedException

    • 22 Comments
    Sounds like one of those Wait Wait Don’t Tell me questions… 10 points if you can tell me the difference between NotSupportedException and NotImplementedException... ;-) NotSupportedException is for cases where it is ok (that is, by design...
  • Brad Abrams

    "Can not" or "Cannot"?

    • 20 Comments
    We had a little debate internally on the correct spelling for “can not” in exception message strings. One of the testers actually dug up a series of bugs where we changed one message back and forth several times. Well, I am happy to say that...
  • Brad Abrams

    Quiz: Primes in the BCL...

    • 20 Comments
    I played around a little with computing prime numbers last week, fun stuff but more on that for a another day…. When I discussed some thoughts on the subject with devs on the BCL team I found out (to my surprise) that we actually have code in the...
  • Brad Abrams

    Quiz: Primes in the BCL... part 2

    • 17 Comments
    Some good comments on my BCL prime quiz … but still one unanswered question (at the end)… Thomas Woelfer quickly got that the place in the BCL for generating prime numbers is in Hashtable.cs and Eric Wilson does a good job explaining...
  • Brad Abrams

    Want to be my buddy?

    • 14 Comments
    The ISV Buddy Program is now part of the MSDN ISV Community Center site. From this site, ISVs can sign themselves up to be matched with a Microsoft employee as well as find the latest news, insights, and ideas on building solutions on Microsoft platforms...
  • Brad Abrams

    Breaking Changes from V1.1 to Whidbey Beta1

    • 10 Comments
    The team has worked incredibly hard to ensure that every V1.1 application works great on Whidbey, but there are a handful of issues mostly related to security and correctness that we felt like we had to fix. Kit just got this list published . We also...
  • Brad Abrams

    The Exception.GetType() mystery

    • 8 Comments
    Spelunking through the Framework one day, I noticed that, new in Whidbey, System.Exception has this method: public new Type GetType(){ return base.GetType(); } Wow, how odd I thought. Adding a newslot to re-define Object’s GetType method then...
  • Brad Abrams

    System.Uri and MarshalByRefObject

    • 6 Comments
    As you might have noticed, in V1.0 and V1.1 System.Uri is MarshalByRef … Some of you noticed this and thought it was odd, as did I because MarshalByRef is suppose t o be only for types that encapsulate external resources that need to be shared across...
  • Brad Abrams

    PowerCollections are happening!

    • 5 Comments
    Wow – how did I miss that – Peter has already started blogging about the PowerCollections project! Peter talks a about how to provide feedback on this project… It is my hope that you take him up on that… I would like to get some...
  • Brad Abrams

    Joe Duffy joins the CLR team

    • 5 Comments
    I have been negligent in announcing that Joe Duffy recently joined the CLR team to focus on bringing WinFX together. As you can see from his blog , he is starting to settle in. What would you like to see Joe take on in the WinFX, Design Guidelines, managed...
  • Brad Abrams

    More on Perf and Productivity

    • 4 Comments
    Anthony Moore , Dev Lead for the BCL team posted a great comment on Rico’s latest quiz … It was so good I could not let it be buried there, so I thought I’d re-post it here… I am sure it will generate some comments ;-) I...
  • Brad Abrams

    Extending the screensaver in C# Express Beta1

    • 3 Comments
    Note: I updated for “correct“ naming for Express... marketing folks, let me know if I got it right this time ;-) Friday was the CLR PM team’s appbuilding day. I decided to pull my head out of WinFX land and check out C# Express...
  • Brad Abrams

    C++ joins the ECMA fun!

    • 3 Comments
    I see from Buddhike ’s blog that the candidate C++/CLI Language Specification has been released. What do you think?
  • Brad Abrams

    The Exception.GetType() answer

    • 2 Comments
    Lots of good feedback and ideas … but here is the answer I got from the developers here.. Well, as with many odd things in the framework, it has to do with ComInterop; specifically ComInterop and backwards compatibility. Don’t get me...
Page 1 of 1 (17 items)