Interesting quote from a recent interview w/ bug fixer Brian Harry.
The quote itself is actually attributed to James Gosling but I like and can appreciate what Brian has added to it.
“The place where you find bugs may not be the right place to put a fix in.”
Simple example of this: Damn, I’m getting a null pointer in this method, better wrap it in a: if (object != null) doSomething;
Sure, you’ve fixed a symptom but very rarely (or perhaps not necessarily) have you addressed the problem.
Another situation: Damn, hashCode() is slow, when I’m calling it 60 million times it’s taking forever. First thought, hashCode() is inefficient, let’s re-write them (maybe they’re using HashCodeBuilder or doing something inefficiently) and save 20%. Perhaps it’d be more worthwhile to look at why your hashCode() is getting invoked 60 million times, address that, and watch the overall time (total operation, not hashCode()) spent fall from 70s to < 2s.
We all love low hanging fruit, but we shouldn’t let it become a barrier to digging deeper.
-
Pet Peeve: Don’t email my password to me in plain text You know the drill.
Signup for some random service on the internet
Receive a confirmation email with your account information
or
Forget a password for some random service ...
-
Eclipise Memory Analyzer (MAT) I must say the Eclipse Memory Analyzer looks pretty slick. There is some pretty good material over on the developers blog. Lastly, there was a talk on it ...
-
Open-source Web-based Code Review Tool: Rietveld Guido van Rossum, of Python fame, has recently released a Django-based application that enables web-based code reviews... Rietveld.
It supports any language and currently can hook into Subversion repositories. You ...
-
An implementation of the JVM in Javascript? Caught this over on JavaPosse Google Groups.
Essentially, some bright fellows over in Japan have developed a bytecode->javascript compiler. There's a demo floating around that took a Tetris ...
-
Facebook Chat? So it looks like the Facebook Chat service has finally started rolling out to my network (Facebook Chat has been mentioned previously).
Not quite sure how ...
Latest Entries
- Lessons Learned as a Project Lead
- Good ANTLR Resource
- Testing with Unitils
- Headed to Kelowna for a short vacation (and the laptop stays behind)
- Seam + Groovy + Maven : Nice Simple Hibernate POJOs
- Pet Peeve: Don’t email my password to me in plain text
- Eclipise Memory Analyzer (MAT)
- caBIG Annual Meeting - A developers perspective
- OS X + Java6: java.lang.UnsatisfiedLinkError: /usr/lib/java/libObjCJava.A.dylib
- Getting started with JBoss Seam and Maven
Blogroll
No Comments
Leave a Comment
trackback address