programming languages

programming languages

Because I love the smell of compilation in the morning

As McConnell notes in Code Complete: If you haven’t spent at least a month working on the same program – working 16 hours a day, dreaming about it during the remaining 8 hours of restless sleep, working several nights straight through truing to eliminate that “one last bug” from the

By Jeff Atwood ·
Comments

programming languages

Shellicious

I mentioned in a previous post that I was launching command line utilities from an ASP.NET web app and capturing the output. I wrote a little multithreaded .Process wrapper class to encapsulate this behavior. It's nothing magical, but it is handy for these scenarios: Dim cmd As

By Jeff Atwood ·
Comments

programming languages

When Good Comments Go Bad

Now that XML comments are confirmed for VB.NET in VS.NET 2005, I’ve started to aggressively adopt the VBCommenter add-in, which adds XML comment support to the current version of VS.NET. XML comments are great primarily because of the additional IDE tooltip feedback they provide to developers

By Jeff Atwood ·
Comments

vb.net

VB.NET vs C#, round two

I saw on Dan Appleman’s blog that a new version of his Visual Basic.NET or C#: Which to Choose? is available, reflecting the latest changes in VS.NET 2005. I immediately bought a copy from Lockergnome, apparently the only vendor that allows instant eBook downloads after purchase.* There

By Jeff Atwood ·
Comments

software development concepts

We’re Building the Space Shuttle

Today’s dose of YAGNI comes from a recent Anders Hejlsberg interview: If you ask beginning programmers to write a calendar control, they often think to themselves, “Oh, I’m going to write the world’s best calendar control! It’s going to be polymorphic with respect to the kind

By Jeff Atwood ·
Comments

oop

KISS and YAGNI

Microsoft performance guy, Rico, touches on a topic near and dear to my heart: I hardly think that one can make any conclusions about which vendor has the edge in performance from my article on Performance Tidbits. If I was to summarize my advice in that blog in a few

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

programming languages

A Pragmatic Quick Reference

I modified the recommended reading list to include, The Pragmatic Programmer: From Journeyman to Master. If you haven’t read the book, it includes a handy reference card that will give you a great idea of the gems covered inside. And if you have, well, it never hurts to review

By Jeff Atwood ·
Comments
Are your exceptions silent?

security

Are your exceptions silent?

This Slate article highlights an interesting statistic: A few years ago, Microsoft set up the Windows Error Reporting Service to help find out where crashes come from. After a Windows application – or your whole PC – shuts down, a box pops up asking you to send a confidential error report. Using

By Jeff Atwood ·
Comments

programming languages

Media Center goes retail

I had no idea this was happening, but it is fantastic news: according to this GamePC article, the latest 2005 version of Windows XP Media Center Edition will be released as a retail product within a few weeks: Windows XP Media Center Edition was originally launched roughly two years ago,

By Jeff Atwood ·
Comments

programming languages

Don’t Devalue the Address Bar

I was reading an interesting entry in Rocky Lhotka’s blog when something in the URL caught my eye: http://www.lhotka.net/WeBlog/PermaLink.aspx?guid=b28971dc-ac4b-4494-8a21-7a5105a39b07 I guess it’s a DasBlog thing, but good lord: a globally unique ID in a blog hyperlink? Has it really come

By Jeff Atwood ·
Comments

programming languages

Why Your Code Sucks... and Mine Doesn’t

OK, the title is just, Why Your Code Sucks, but you know you were thinking it. The article may not be as grammatically (sp) correct as I would like, but it’s got some solid advice. My favorite is rejection of dogma: Your code sucks if it dogmatically conforms to

By Jeff Atwood ·
Comments