software development

exception handling

Creating More Exceptional Exceptions

I find myself throwing plain old System.Exception far too often. If only I had a complete reference of the many default Exception classes Microsoft provides, like the one Chris Sully provides in his article. That’s good as a starting point, but I don’t see things like System.

By Jeff Atwood ·
Comments

vb.net

Stuck in a VB.NET Ghetto

At a recent trinug user group meeting, Richard Hale Shaw was going off on a tirade about how Visual Basic 6 was “the ultimate anti-pattern.” I don’t disagree. VB6 had some serious issues, many of which .NET resolves. Then he put a question to the audience: “What specific things

By Jeff Atwood ·
Comments

software development

We Make Shitty Software... With Bugs!

I saw this really funny, if somewhat ancient, Dave Winer blog entry on Scoble’s blog and I just couldn’t resist: An old software slogan at Living Videotext: “We Make Shitty Software... With Bugs!” It makes me laugh! We never ran this slogan in an ad. People wouldn’t

By Jeff Atwood ·
Comments

software development

Defending Perpetual Intermediacy

How many things would you classify yourself as “expert” at? I drive to and from work every day, but I hardly consider myself an expert driver. I brush my teeth at least twice every day, and I’m no expert on oral care; just ask my dentist. I use Visual

By Jeff Atwood ·
Comments

asp.net

ASP.NET CAPTCHA control, improved

I improved the ASP.NET CAPTCHA server control I mentioned yesterday: * Control respects all standard ASP.NET server control properties (font, border, accesskey, enabled, etcetera) * Hide ViewState property (it’s required!) * Added CaptchaLength property * Added CaptchaFontWarping property * Improve font sizing algorithm * Improve warping algorithm (more mild distortion, no more drawing

By Jeff Atwood ·
Comments

java

Weeding out the Weak Developers with J2EE

I got into an interesting discussion today about that recently published report, Comparing Microsoft .NET and IBM WebSphere/J2EE. If you haven’t read it, there’s a summary at eWeek, but I definitely recommend downloading the full report for the details. If you’re too busy to do either

By Jeff Atwood ·
Comments

.net

Saving URLs to MHTML via .NET

I just posted another CodeProject article, Convert any URL to a MHTML archive using native .NET code. The title is a bit misleading; using my class, you can actually convert any URL to one of four formats in a single line of code: * Web Page, complete (HTML plus files in

By Jeff Atwood ·
Comments

software development

Development is Inherently Wicked

Horst Rittel and Melvin Webber defined a “wicked” problem as one that could be clearly defined only by solving it, or by solving part of it. This paradox implies, essentially, that you have to “solve” the problem once in order to clearly define it and then solve it again to

By Jeff Atwood ·
Comments

optimization

Why aren’t my optimizations optimizing?

We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. – Donald Knuth Michael Teper’s blog has a great post about a bread and butter optimization scenario involving string replacement. After implementing three logical alternatives, Mike looks at the benchmark

By Jeff Atwood ·
Comments

software development

Showstopper!

A friend of mine recently returned the book Showstopper! after an extended loan. If you haven’t heard of this book, allow me to quote the Amazon.com editorial summary: Showstopper! is a vivid account of the creation of Microsoft Windows NT, perhaps the most complex software project ever undertaken.

By Jeff Atwood ·
Comments

asp.net

User-Friendly ASP.NET Exception Handling

I just posted a new article to CodeProject, User Friendly ASP.NET Exception Handling. I casually mentioned in the original article that I didn’t think a global unhandled exception management class designed for WinForms and console apps was appropriate for ASP.NET apps, and that I had a separate-but-equal

By Jeff Atwood ·
Comments

project management

Monster Project Management

Sometimes I feel like I learned everything I needed to know about software project management on Monster House. Monster House is a television show on The Discovery Channel. Five random builders and the host, Steve Watson, perform a “monster” makeover on someone’s home in five days. If the builders

By Jeff Atwood ·
Comments