Browse by Tags

You can't hear DC
Recently one of my team members found a bug in some old code while doing a code review. Our application was generating a sine wave to be rendered by the audio hardware. The sample format isn't important except to note that it is an unsigned value between Read More...
Posted 21 June 07 10:00 by RyanBemrose | 4 Comments   
Filed under ,
The Rules of Code Optimization
Steve Rowe recently talks about who you're really writing for when you write code. The argument he makes is essentially that your primary audience is not the compiler, but rather your primary audience is other developers. This is something I believe strongly. Read More...
Posted 14 June 07 10:56 by RyanBemrose | 3 Comments   
Filed under
My program is the most important thing on your system, same as all the others.
Raymond had a really good post yesterday about programs that grab your attention inappropriately . I recommend reading it. The comments have some good examples of programs, mostly updaters, that take too many liberties. Of course, I completely agree that Read More...
Feature request for the compiler team
I want to preface this by saying that the MS compiler team have worked wonders in improving developer productivity over the years, and can't be thanked enough for turning the C++ language into an enterprise quality platform that has lasted more than a Read More...
Posted 08 December 06 01:08 by RyanBemrose | 5 Comments   
Filed under
Honesty as a code metric
Of all of the programmers I've worked with over the years, I can name three who really stick out as the best. These people have earned my respect, and I will always listen to their opinions, even when I think they're completely off their rockers. I currently Read More...
Posted 02 November 06 08:00 by RyanBemrose | 0 Comments   
Filed under
If you assume your users are criminals, they will be.
A friend recently purchased for me a copy of a game, let's call it "Society III", that he knew I'd like. I had been an avid player of Society and Society II, and Amazon was having a $9.95 special. The game arrived in a standard manufacturer box, with Read More...
Interface Design and the Law of Leaky Abstractions
Programmers are always trying to make things simpler, usually by making them more complex. Interface too complicated? Need a bit of extra functionality? Want to work closer to the problem? Add a layer of abstraction to the code. As most programmers know, Read More...
The Dancing Bunnies problem and the need for application-level security
Raymond today has a discussion up about the folly of trying to set security with a granularity of per-DLL. As he explains, the moment you let something untrusted run in your process space, you cannot trust anything in the process. You cannot wall off Read More...

Search

This Blog

Syndication

Page view tracker