Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Programming   (RSS)

Craig's Bug

One of the things I love about this job is tracking downinteresting bugs. It’s like readinga good who-done-it, complete with plot twists, multiple potential suspects and a fascinating array of characters. Late last September, Craig Eisler submitted a
Posted by Rick Schaut | 9 Comments
Filed under: ,

There Comes a Time

In every project, there's a point where you have to stop tweaking this and touching up that little bit of behavior and focus on just fixing bugs. If you don't, then you never ship. Nadyne gave some of the details over on mac mojo . Well, we're getting
Posted by Rick Schaut | 5 Comments
Filed under: ,

BBEdit 8.5

MacWorld has a decent review of BBEdit 8.5 , but it fails to mention a new feature that is of particular use to programmers. One of the features of CodeWarrior that I'd missed was the syntax highlighting that the IDE applied to symbols that were defined
Posted by Rick Schaut | 2 Comments
Filed under: ,

What's Wrong with this Code: The Answer

Bjarne Stroustrup is a brilliant man, which means he's very good at defining programming languages. It also means he's not very good at writing books about the programming languages he's defined. His writing goal is concise precision. Unfortunately, for
Posted by Rick Schaut | 8 Comments
Filed under: ,

What's Wrong with this Code?

A while back, Erik Schwiebert wrote about some of the travails of moving our build system from one using CodeWarrior to one using XCode and GCC. Erik mentioned the huge number of errors and warnings we've had to resolve, but, in reading some of the reactions
Posted by Rick Schaut | 18 Comments
Filed under: ,

Compound Statement Macros

I had thought this was a rather well-known trick, but, after reacquanting myself with Alexandrescu's Modern C++ Design , I've come to believe that it's not at as well-known as I thought. So, I thought I'd share it here for posterity. It's common to write
Posted by Rick Schaut | 4 Comments
Filed under:

Got Frontier and MacBird Experience?

Dave Winer is looking for a Mac developer with knowledge of Frontier and MacBird to work on his latest project: an OPML editor. According to Dave, the Mac version is stalled. If I didn't just get a load of work heaped on me, I'd be sorely tempted to toss
Posted by Rick Schaut | 1 Comments
Filed under: ,

Flipping Out

I've seen quite a few people comment in blogs that the endian issue I mentioned yesterday won't turn out to be much of an issue. Well, you can't say I didn't warn you about drinking the Kool-Aid, but it you still have some lingering doubts that there
Posted by Rick Schaut | 11 Comments
Filed under: ,

The Beginning of the Endian

So the rumors have been true. Apple is moving to Intel processors, which, in some ways, makes sense. At least it does from Apple's point of view. The Kool-Aid has never really affected their ability to figure out what's right for Apple regardless of the

C++ Function Objects

C++ provides us with a number of ways we can shoot ourselves in the foot. If you work as a developer on any sizeable software project, there is quite likely a set of rules about limitations as to the C++ language features you’re allowed to use: no memory
Posted by Rick Schaut | 10 Comments
Filed under:

Subtle Bugs

It wouldn't surprise me for people to wonder how it’s possible for reasonably competent programmers to introduce bugs by making seemingly innocuous changes to some program’s code. The short answer is that we’re often too clever for our
Posted by Rick Schaut | 2 Comments
Filed under:

MPW C Error Messages

Those of us who've been programming the Mac for a few years have some fond memories of the old Macintosh Programmer's Workbench (MPW). It was very much like the Terminal Window on OS X, but had a few quirks of its own. Among those quirks were the error
Posted by Rick Schaut | 5 Comments
Filed under: ,

Hungarian Notation (Again)

Cyrus is having difficulty parsing out the example given in Simonyi's original article on the subject. I've blogged about this before , but it's worth reiterating the main point of my earlier post. It's somewhat unfortunate, because the example that Simonyi
Posted by Rick Schaut | 2 Comments
Filed under:

AppleScript and VBA: the Story of Sid and Nancy

In the few spare moments I’ve had over the past several weeks, I’ve followed some discussions of Word and AppleScript both in the comments to my earlier post and in the Microsoft newsgroups. A particularly good discussion, with input from
Posted by Rick Schaut | 1 Comments

Anatomy of a Software Bug

Anatomy of a Software Bug Chris Mason is the person who hired me to work at Microsoft. By the time he hired me, he’d already spent a great deal of time looking into the issue of general software quality, and had written a memo (known as the “Zero
More Posts Next page »
 
Page view tracker