Welcome to MSDN Blogs Sign in | Join | Help

November 2004 - Posts

Sorry this took so long - work's been really busy lately. Clearly I'm not enough of an egotist[1] to believe that my style is in any way the "one true style", but over the course of writing the series on style, I realized that I've never written down Read More...
Sorry about leaving things hanging, I'm currently on vacation, that's why the 'blog's not been updated. I'll be back on Monday the 29th and continue where things left off. Read More...
So over the course of the past week, I've spent some time talking about various things that make up a program's "style". There's one final aspect of programming style that I want to touch upon, and that's " Literate Programming ". Literate programming Read More...
Over the course of this series on style, I've touched on a lot of different aspects, today I want to discuss aspects C and C++ style specifically. One of the things about computer languages in general is that there are often a huge number of options available Read More...
Valorie asked me this question today, and I figured I'd toss it out to everyone who runs across this post. She works in a 5/6 split class, and they're working on a unit on patterns and functions. They're ordering the data into columns, each of which is Read More...
Previously in the series, I've touched on indentation and commenting , The next aspect of "style" that I want to talk about is variable (and function) naming conventions. Upon reflection, I hungarianized the code way too early in the series, it properly Read More...
Continuing the discussion of "style".. The other day , I talked a bit about how comments affect the "style" of a piece of code. Today, I want to talk about the headers that accompany each routine and file. And yes, every routine and file needs to have Read More...
Continuing the discussion of "style".. Yesterday , I showed the code reformatted into "BSD" style format, which looks like: #include "list.h" main(C cArg, SZ rgszArg[]) { I iNode; I cNodes = atoi(rgszArg[1]); I cNodesToSkip = atoi(rgszArg[2]); PNODE pnodeT; Read More...
When we last left the code we were looking at, it looked like: #include "list.h" main(C cArg, SZ rgszArg[]) { I iNode, cNodes = atoi(rgszArg[1]), cNodesToSkip = atoi(rgszArg[2]); PNODE pnodeT, pnodeCur; InitNodes(cNodes); for (iNode = 2, pnodeCur = PnodeNew(1); Read More...
In my previous style post , I took a piece of code from Robert Sedgewicks algorithms book, and "Hungarian-ized" it. The routine currently looks like: #include "list.h" main(C cArg, SZ rgszArg[]) { I iNode, cNodes = atoi(rgszArg[1]), cNodesToSkip = atoi(rgszArg[2]); Read More...
Building on my post on style last week. So what does "coding style" look like, anyway? Well, the facile answer is "I know it when I see it". But it's more than that. A good coding style should result in high quality self-documented code that is esthetically Read More...
In one of my early posts , I mentioned a status review we had with BillG for the DOS Lan Manager redirector (network filesystem). I also talked to Robert Scoble about this in the last of my Channel9 videos . One thing that somehow got missed in both the Read More...
From TheDailyWTF : DBA : Do you want usernames to be unique? Developer : Yes (next day) DBA : Should passwords be unique as well? Developer : No (later that day) DBA : Shouldn't we require passwords to be unique? Developer : No DBA : Are you sure? Developer: Read More...
The fifth (and last) video's up here , if you've been reading my blog, it's not new, but :) Sorry about no real content, work's been pretty busy this week. Read More...
Robert just posted the fourth of the videos he shot last month. This one's short, about the hardest problem I've solved. Read More...
Robert just posted the 3rd video, it can be found here . Enjoy! Read More...
AKA, Software archaeology , a working example. I've touched on this this a couple of times before, but I'd like to talk a bit about style. This isn't an issue for people working on a single person project, but once you start working in a team, the issue Read More...
Robert just dropped the second of my Channel9 videos up, you can find it here . Enjoy :) Read More...
Twenty four years ago, on the Tuesday of the first full week in November, I dutifully filled in my absentee presidential ballot (for John Anderson, who was running as an independent). I've voted in every election that I've been eligible since then. As Read More...
Wow, what an amazing evening. Earlier this evening, Valorie and I had the opportunity to attend my 20th anniversary dinner at the Newport Hills Golf Club (this place has the most unbelievable views of Seattle, Bellevue, and the Olympics). We got to hang Read More...
Well, another Halloween has come and gone. Last night was quite depressing, only one kid showed up at our door. On the other hand, the kids and I had a lot of fun carving pumpkins, for some reason we missed doing that last year, so it was nice to get Read More...
 
Page view tracker