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

Brad Abrams

Design Guidelines, Managed code and the .NET Framework

June, 2004

  • Brad Abrams

    Beep Sound in C#\.NET Framework

    • 13 Comments
    This gets asked all the time on our internal alias, so I am sure google gets asked a lot, here is my effort to provide an answer. No, the .NET Framework V1.0\V1.1 does not support Beep()… In those platforms you can (a) PInvoke to Win32: [DllImport...
  • Brad Abrams

    On the dangers of unsafe String handling...

    • 7 Comments
    Another interesting tidbit I learned today from Brian Grunkemeyer, BCL developer … It may be tempting to be ultra fast and use C# unsafe code support to just party over memory and write your own string like this: string s = new string(‘...
  • Brad Abrams

    Productivity -- but to what extreme?

    • 38 Comments
    By far the most important feature of the CLR (and WinFX and managed code generally) is developer productivity. We want developers to be able to build better applications, faster on the managed platform than anywhere else. As a side note, I once saw a...
  • Brad Abrams

    organizing you source code

    • 9 Comments
    Because of my involvement with the Design Guidelines effort I often get asked about “coding conventions” such as tab v. spaces, where to put the open brace, etc. My usual policy is not the chime in… these issues have a ton of religion...
  • Brad Abrams

    The Bum Rap of foreach

    • 13 Comments
    Update: fixed the title per comments and I noticed Rico chimed in. I had two separate interactions today where someone told me they opted for ugly\error prone for-loop code because foreach was “too slow”. There are so many things...
  • Brad Abrams

    More on Perf\Productivity: The devil is in the details...

    • 17 Comments
    I enjoyed reading (and forwarding) the comments on my recent post on the productivity performance tradeoff… Many of you (rightly so) pointed out that the details really mater in such a discussion. So I picked one that we are struggling with right...
  • Brad Abrams

    Dispose on an IList?

    • 5 Comments
    A developer on an internal alias asks: I’m using an API which returns an IList of objects which have to be Disposed. Are there any pitfalls I should be aware of, or can I just use a foreach like the following? foreach (Thing myThing...
  • Brad Abrams

    Help us extend the generic collections for the .NET Framework

    • 7 Comments
    Many moons ago I got some very clear feedback on my blog that the introduction of generics to the .NET Framework was a great opportunity to extend the base set of collection classes we offer. Directly based on that (and other bits of feedback), I contact...
  • Brad Abrams

    On FTP support in Whidbey

    • 15 Comments
    Someone asked me recently about FTP support in Whidbey… here is the answer I tracked down from the owners of the net classes. That's right, we're adding FTP support in Whidbey. There is an FtpWebRequest/FtpWebResponse class for general use...
  • Brad Abrams

    Well, it is that time again: Reviews!

    • 3 Comments
    ChrisAn posted about the process in general last year , so I will not bore you with it. But one of the things I do as a manager is talk to people that my team has interacted with over the period and get their feedback. This time the specific question...
  • Brad Abrams

    The joys of new territory in API design

    • 8 Comments
    I remember back in the day when we added a first-class notion of properties to the CLR\C#. Up to that time we just had methods and constructors (events came later still). We really didn’t know how to use these things (even though they had existed...
  • Brad Abrams

    The SLAR on System.Text.ASCIIEncoding

    • 5 Comments
    The SLAR on System.Text.ASCIIEncoding Continuing in the series on sharing some of the information in the .NET Framework Standard Library Annotated Reference Vol 1 here are some of the annotations on the ASCIIEncoding class. Brad Abrams: Regrettably...
  • Brad Abrams

    Chris Brumme on Channel9

    • 6 Comments
    FYI -- Chris Brumme was interviewed for Channel9 recently... I learned something watching them so I am sure you will as well. In addition, I just sent mail to all the leads on the CLR team listing these same links, so the right folks are watching if you...
  • Brad Abrams

    New BCL/CLR Programmer Writer position

    • 8 Comments
    One of the clear pieces of feedback I got on my recent post on productivity is that good, solid documentation for the platform is crucial. Would you like to be part of making the BCL docs better? I just found out that we have an opening for a Programmer...
  • Brad Abrams

    On reflection and generic Arity

    • 3 Comments
    In my comments there is a good discussion going on about reflection and generic arity J. Ambrose Little asks: I've got some code that is dynamically compiled and loaded into an Assembly type. In the past, I could use myAssembly.CreateInstance...
  • Brad Abrams

    BCL on MSDN

    • 2 Comments
    The BCL team site graduated to MSDN recently and I see that Frank got a blurb about it on the .NET Framework DevCenter and his blog : /bcl - information on programming the Base Class Libraries (stuff in the System namespace). Especially check-out...
  • Brad Abrams

    Once you start looking...

    • 9 Comments
    I recently got an email from a reader asking if I notice non-software related design mistakes…. Of course I do! I strongly believe that once you start thinking about the world from a user centered view you see it in your everyday life. I drive my...
  • Brad Abrams

    Yet another CLR perf blogger...

    • 2 Comments
    I am very happy to see that the PM of managed code perf herself just started a blog… Maoni Stephens starts of by telling us all about the GC perf counters . Subscribed.
  • Brad Abrams

    The SLAR gets a review...

    • 6 Comments
    Ask and you shall receive … I just saw that Jose Fuentes posted a review of the SLAR … He gives me a hard time for not including VB content… And I understand that… I love VB, some of my best friends use VB… It was a painful...
  • Brad Abrams

    Disposable Enumerator

    • 1 Comments
    #region Using directives using System; using System.Collections.Generic; using System.Text; #endregion namespace ConsoleApplication1 { class Program { static void Main( string [] args) { MyList < string > l = new...
Page 1 of 1 (20 items)