Brad Abrams
Design Guidelines, Managed code and the .NET Framework
June 2004 - Posts
BCL on MSDN
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 the
Read More...
The Bum Rap of foreach
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 wrong with
Read More...
Chris Brumme on Channel9
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
Read More...
Once you start looking...
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
Read More...
Dispose on an IList?
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 in myList) {
Read More...
Help us extend the generic collections for the .NET Framework
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
Read More...
Well, it is that time again: Reviews!
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
Read More...
On reflection and generic Arity
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 to get an
Read More...
The joys of new territory in API design
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
Read More...
More on Perf\Productivity: The devil is in the details...
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
Read More...
organizing you source code
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
Read More...
New BCL/CLR Programmer Writer position
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
Read More...
On FTP support in Whidbey
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 of the
Read More...
Productivity -- but to what extreme?
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
Read More...
The SLAR on System.Text.ASCIIEncoding
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, the
Read More...
Beep Sound in C#\.NET Framework
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("kernel32.dll")]
Read More...
Yet another CLR perf blogger...
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.
Read More...
On the dangers of unsafe String handling...
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(‘\0’,
Read More...
The SLAR gets a review...
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
Read More...
Search
Go
This Blog
Home
Email
本博客中文版 (View in Chinese)
These postings are provided "AS IS" with no warranties, and confer no rights.
Tags
.NET Framework
.NETFx3.0
Acropolis
AJAX
AjaxWorld
ASP.NET
ASPMVC
Atlas
BCL
Blogging
CLR
DevLink07
Framework
Framework Design Guidelines
ISV
ManagedExtensibilityFramework
MEF
Microsoft AJAX Library
Mix07
Mix08
New Guideline
Orcas
PDC
Port25
Program Manager
RainbowsEnd
Random
ReMixBoston07
Silverlight
SLAR
Software Development
TechEd
TheAjaxExperience
VB
VernorVinge
WinForms
WPF
Archives
December 2008 (1)
November 2008 (13)
October 2008 (13)
September 2008 (7)
August 2008 (11)
July 2008 (7)
June 2008 (13)
May 2008 (7)
April 2008 (11)
March 2008 (21)
February 2008 (12)
January 2008 (14)
December 2007 (13)
November 2007 (13)
October 2007 (21)
September 2007 (7)
August 2007 (13)
July 2007 (10)
June 2007 (25)
May 2007 (18)
April 2007 (15)
March 2007 (15)
February 2007 (6)
January 2007 (15)
December 2006 (8)
November 2006 (12)
October 2006 (13)
September 2006 (8)
August 2006 (5)
July 2006 (12)
June 2006 (15)
May 2006 (12)
April 2006 (10)
March 2006 (15)
February 2006 (14)
January 2006 (13)
December 2005 (7)
November 2005 (18)
October 2005 (16)
September 2005 (30)
August 2005 (22)
July 2005 (15)
June 2005 (14)
May 2005 (17)
April 2005 (24)
March 2005 (28)
February 2005 (20)
January 2005 (28)
December 2004 (18)
November 2004 (17)
October 2004 (24)
September 2004 (16)
August 2004 (28)
July 2004 (17)
June 2004 (19)
May 2004 (28)
April 2004 (31)
March 2004 (28)
February 2004 (30)
January 2004 (35)
December 2003 (17)
November 2003 (28)
October 2003 (43)
September 2003 (25)
August 2003 (21)
July 2003 (26)
June 2003 (9)
May 2003 (14)
April 2003 (50)
Books by Brad Abrams
[2005] Framework Design Guidelines (First Edition)
[2005] .NET Framework Standard Library Annotated Reference, Volume 2
[2004] .NET Framework Standard Library Annotated Reference, Volume 1
[2004] Base Class Library Reference Poster
[2002] Programming in the .NET Environment
[2008] Framework Design Guidelines (second edition)
Noteworthy Posts
Who am I? (Brad Abrams' Bio)
Code Guidelines
Syndication
RSS 2.0
Atom 1.0