Amazon.com Widgets 23 Sep 2003 - Brad Abrams - Site Home - MSDN Blogs

Brad Abrams

Design Guidelines, Managed code and the .NET Framework

23 Sep 2003

  • Brad Abrams

    Book Plug: Network Programming for the Microsoft .NET Framework

    • 4 Comments
    Lance Olson dropped by the other day with a copy of his latest work: Network Programming for the Microsoft .NET Framework . He has a very good introduction to the .NET Framework and drills into some meaty networking areas. Lance should know, he has...
  • Brad Abrams

    I walked in on Chris and Don...

    • 0 Comments
    I happened by a conference room today where ChrisAn and DonBox were going through some of their art as they plan for the big show at the PDC. Like any of the rest of you would, I crashed. I gotta say even just watching the dry run was very cool. ...
  • Brad Abrams

    Small Design Guideline Update: Overriding Exception.ToString

    • 4 Comments
    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...
  • Brad Abrams

    PDC Packing Tip 1: Bring a laptop

    • 1 Comments
    I was just thinking over some of the logistics for the PDC and it occurred to me that we should give some tips on what to bring to the PDC. Now, I only have this one tip to give you but my hope is that other folks involved in planning the PDC or those...
  • Brad Abrams

    Hashtable Performance Comments

    • 6 Comments
    Been a while since I did a Q&A from internal discussion… Here goes, this one recently went over the CLR Performance alias. Question: We were planning to use Hashtable in one of our projects but before we do that we had a question is that...
  • Brad Abrams

    Shameless Plug: ARC200 .NET Framework Overview: A Road Map

    • 0 Comments
    I realized I had not given a shameless plug for my PDC talk yet…. I will be continuing my tradition of doing a .NET Framework Overview talk at the PDC. This year it is called: ARC200 .NET Framework Overview: A Road Map . My goal with this talk...
  • Brad Abrams

    PDC Calendar

    • 1 Comments
    Sam noticed you can build out your PDC calendar online …. Although there are some limitations, the site is quite cool, and I do encourage you to take a rough shot at your schedule. Someone forwarded me a link to the current data Friday and it is quite...
  • Brad Abrams

    Naming convention for APIs in the 64 bit world

    • 42 Comments
    We are having a little debate internally on an issue around naming conventions for moving APIs to the 64bit world. We made a few design mistakes in V1 and exposed some properties that are really word sized as Int32’s rather than Int64s. I don’t...
  • Brad Abrams

    Design Guidelines Update: Variable Number of Arguments

    • 7 Comments
    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...
  • Brad Abrams

    Russian anyone??

    • 10 Comments
    Thanks to the great folks at Addison Wesley I got a copy of Programming in the .NET Environment (I wrote the Framework chapter) translated into Russian! It was very cool to see my work getting a wider audience. They even translated the comments in...
  • Brad Abrams

    is and as...

    • 6 Comments
    A dev at Microsoft working on a large managed code base just suggested this guideline… Our perf team buys it as well.. is should only be used when it's only necessary to test the type of some object. If you're going to use the object if the is...
  • Brad Abrams

    PDC CLR Panel now taking questions

    • 1 Comments
    I just saw we got the panel site live… Jeremy tells us how this works… But basically you go here and suggest questions or topics you want us to address… I know all the folks on the CLR panel well, so let me give you an idea of what you might...
  • Brad Abrams

    Even more on API Usablity

    • 1 Comments
    Well folks, we talked him into... Steven Clarke , a usability engineer at Microsoft setup a blog... Already some good info -- if we can just get him to fix the picture ;-)
  • Brad Abrams

    More on API Usablity Study

    • 6 Comments
    In the comments of one of my recent posts the need for more information about API usability studies came up. Steven Clarke , a usability engineer at Microsoft came up with this formal way of describing API usability. We use this model internally to...
  • Brad Abrams

    Should I close the stream?

    • 12 Comments
    Interesting question over an internal mailing list today: When I implement a constructor that takes a stream as parameter, should my class close the stream when it is done with it? For example: public class Foo { Stream s; public...
  • Brad Abrams

    PDC demo Dilemma

    • 52 Comments
    ChrisAn and I ( Don was already snoozing) spent some time Friday on the bus back from the conference discussing demos for the PDC and we reached a dilemma. Maybe you can help us out. It should be of no surprise to you folks that we are in very active...
  • Brad Abrams

    Why does Math.Floor return a double?

    • 4 Comments
    Someone recently asked me why Math.Floor return a double? I chatted with some folks on the team and got this response. You could ask the same question about Sin, Log and all the other things on Math: they all take and return Double and are subject...
  • Brad Abrams

    More on Hashcodes

    • 4 Comments
    One of the devs on the BCL team just added a bit to my recent post on hashcodes … Enjoy! Brad's comment above applies to Object's GetHashCode implementation, which most interesting classes override, providing their own hash function. We believe...
  • Brad Abrams

    Perf Team Page

    • 1 Comments
    Our perf team just posted a page on gotdotnet…. Check it out .
  • Brad Abrams

    The Pit of Success

    • 49 Comments
    The Pit of Success : in stark contrast to a summit, a peak, or a journey across a desert to find victory through many trials and surprises, we want our customers to simply fall into winning practices by using our platform and frameworks. To the extent...
  • Brad Abrams

    Fargo Here I Come

    • 5 Comments
    After the PDC I am going to be heading down to Fargo , North Dakota to give an internal training class on building great .NET Libraries. I wonder if there are any .NET user groups that could use a guest speaker. I * think * I can swing the evening...
  • Brad Abrams

    Exceptions and Error Codes

    • 24 Comments
    I see Miguel has some comments on exceptions that I must disagree with… The beauty of returning a pointer to an object, is that you can return NULL as your standard error return value, and if the value mattered, you will most likely take the necessary...
  • Brad Abrams

    The move to managed code...

    • 3 Comments
    I just got forwarded this article which I bet was written in the early 1990s on the move from C to C++. Migrating From C to C++ . Just reading the introduction it is amazing the parallels to the migration we are now in to managed code. Does anyone...
  • Brad Abrams

    Some thoughts on Object.GetHashCode()

    • 5 Comments
    One of the architects on the CLR team just reminded me of a detail about GetHashCode on object… Specifically you should NOT use it as a unique ID for an object. It is possible for two different objects to return the same value. By the contract...
  • Brad Abrams

    Questionable value of SyncRoot on Collections

    • 7 Comments
    You’ll notice a SyncRoot property on many of the Collections in System.Collections. In retrospeced, I think this property was a mistake. Krzysztof Cwalina, a Program Manger on my team, just sent me some thoughts on why that is – I agree with him:...
Page 1 of 2 (33 items) 12