On coming to depend on the readability of managed code

Matt has a great post over at http://blogs.msdn.com/mattwar/archive/2004/09/17/230941.aspx.  I know exactly how he feels.  It's been four years now since I wrote any volume of C++ code. I've always thought of C/C++ as my native language after coming up through the early years of C++ compilers, but I think that phase is passing.

After a year or so of server-side JScript (really), 2 years away from the coal-face serving time as a manager and now a year of C#, I look at unmanaged code (especially COM-heavy code) and I find I can barely pick out the functionality from the plumbing, overhead, variant conversions and other assorted chaff.

I'm also always amazed at how much difference in readability having a set of widely adopted coding guidelines has made.
I can read so much more of people's code by glancing at it simply by the fact that there's a good chance the variables are called ledgerAccountList these days rather than pLdgAccts.

I suppose that brings me round to noting that despite developer machismo, English is actually still my native language rather than C, C++ or C#.

Published 07 October 04 10:39 by GarethJ

Comments

# Andrei said on October 7, 2004 9:01 PM:
Well, this doesn't mean that COM or C++ code is bad, it's just you who don't know how to read it. Basically, it's all matter of habit.

Guys who vote for C# to be everywhere need to understand that this is a language for a special market - be a MS answer to the Java in the .NET language family. This language has certain areas it's intended to solve which don't require low memory consumption, low overhead, responsiveness, complete control over exceptional situations. None of those requirements are satisfied by the .NET framework, so the mission critical applications like database systems, device drivers, etc. must not be written in C# or .NET in general.
# Andrei said on October 7, 2004 9:02 PM:
Well, this doesn't mean that COM or C++ code is bad, it's just you who don't know how to read it. Basically, it's all matter of habit.

Guys who vote for C# to be everywhere need to understand that this is a language for a special market - be a MS answer to the Java in the .NET language family. This language has certain areas it's intended to solve which don't require low memory consumption, low overhead, responsiveness, complete control over exceptional situations. None of those requirements are satisfied by the .NET framework, so the mission critical applications like database systems, device drivers, etc. must not be written in C# or .NET in general.
# Smeghead said on October 7, 2004 9:26 PM:
Yes because we love reading 99% shit, 1% functionality.

Even more fun when its somebody else's shit.

Hands up who loves inheriting sombody elses COM code? Yes thats what I thought, nobody.
New Comments to this post are disabled

Search

This Blog

Disclaimer
The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion.
All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Tags

Archives

Architects who Model

DSL Tools Team

Links

Syndication

Page view tracker