The importance of your user interface metaphor.
Christ Stevenson bitched about the Gnome calculator. Apparently, if you enter the equation '2*2+2*2', it gives an answer of 12.
Continue reading "The importance of your user interface metaphor." »
« January 2005 | Main | March 2005 »
Christ Stevenson bitched about the Gnome calculator. Apparently, if you enter the equation '2*2+2*2', it gives an answer of 12.
Continue reading "The importance of your user interface metaphor." »
Working with legacy code can present some, um, interesting challenges. I just hit a wonderful issue to do with dates and timezones, caused by a really piss-poor data model.
Bush is proposing a 2.5 trillion dollar budget. Supposedly, this manages the following:
I'm currently working my way through Michael Feathers Working Effectively With Legacy Code. Damn good book, BTW. Anyway, this was this section on "programming by difference" that got my thinking while reading it.
Did you know that there are places in the world with timezone offsets in quarter-hour increments?
The timezone for Nepal is UTC+5:45. Chatham Island (a territory of New Zealand) uses UTC+12:45. Interesting...
Been seeing this pattern a lot today. I'm working with integration tests, which have a lot of test fixtures around to do common tasks (such as inserting data into the database). These test fixtures propagate exceptions. In many cases, they simply declare that they throw java.lang.Exception. Ouch.
Continue reading "Don't propagate exceptions in test fixtures" »
I was listening to the audio presentation by Woz at ITConversations.com recently. I was really interested in his stories about how he got interested in hardware hacking, and it made me reflect on my early experiences with computers.
Continue reading "Reflections on how I got started in this biz..." »
Meaningful names for variables, methods, and classes go a long way to making uncommented code possible. However, meaning is not conveyed simply by length.
Stumbled upon this beauty today (minor changes to protect the guilty)
For the last few years, I've been saying that IntelliJ is the best Java IDE on the market, but that Eclipse is pretty close. I've also been using Eclipse that whole time (having used IntelliJ before that), because my then-employer didn't like to shell out money if they didn't have to.
Well, I'm at a different company, and everyone here uses IntelliJ (bought-and-paid -for, even!). And I'm finding that IntelliJ is as good as I remember, but there are a lot of things that are bugging me with it. Enough that I wonder if it's worth using.
Actually, I don't. But I have to ask: if they can make it illegal to circumvent copy protection to do something you could legally do without the copy protection, then why can't it be illegal to circumvent pop-up blockers?
Hmmm... considering that pop-up blockers are arguably a security feature, could the US DMCA be used here?
As I said earlier, I've been reading Michael Feathers Working Effectively With Legacy Code recently (I'm taking my time with it; it's a good book). He spends a lot of time talking about techniques to get code under test. However, he spends very little talking about finding out if (and to what extent) a method is under test in the first place. So here's how I do it:
Continue reading "How do I find what tests use this method?" »
This page contains all entries posted to Software is too expensive to build cheaply... in February 2005. They are listed from oldest to newest.
January 2005 is the previous archive.
March 2005 is the next archive.
Many more can be found on the main index page or by looking through the archives.