October 2010
1 post
August 2010
1 post
Standards of perfection
I just read an interesting blog post by Dale H. Emery: Standards of perfection. (If you don’t follow Dales blog, you should start to do so.)
He points out that we often seam to implicitly measure ourselves and others against standards of perfection, that are unreasonable.
He was wondering, why we do so? So I’m trying to take this question a little further.
It occured to me, that I...
April 2010
4 posts
Exploding Software-Engineering Myths →
A link to some very nice Empirical research about common myths on quality in software development.
What is the correlation between code coverage and bugs?
Does TDD really help?
Does it help to use assertions?
Does project structure or distribution influence Quality?
1 tag
JUnit "Catch unexpected Exception"-Anti-Pattern
When I look at codebases, I often see the following anti-pattern in JUnit tests:
@Test
public void testmethod() {
// do something
try {
// do something that throws a checked exception
} catch (Exception e) {
fail(e.getMessage());
}
// do some more
}
The problem with this construct is, that it swallows the stacktrace. You only get a failure with the message...
Balancing reading, listening and doing
1
As a curious person in general and as a software professional in particular I feel I need to read a lot (or listen to podcasts) to stay up to date. Since I’m always curious, it’s also fun, too. I inform myself about a diverse set of topics: Programming, Design, Management, Parenting, Psychology, …
It has helped me in the past to know about a lot of things from reading.
But...