News for hackers. Stuff that matters.
Re:"Joel Spolksy is wrong about my work" - Kent Beck by nostrademons on Wednesday February 04, 2009 @01:13PM (#466177)
Most great programmers take very well to unit tests. The way they became great was to assume their code is flawed and take steps to remedy that.

Perhaps I'm being a little harsh, but I don't think Joel or his employees are really all that great. I mean, they're working on bugtracking software. Great programmers tend not to trade interesting problems for private offices and gigantic monitors (plus, they often can get jobs at places that offer them interesting problems, private offices, and gigantic monitors).

Re:"Joel Spolksy is wrong about my work" - Kent Beck by demallien on Thursday February 05, 2009 @07:39AM (#467677)
No, really? FogBugz is written in a custom language created by the team for the application. Doesn't that sort of problem sound interesting enough to you? http://www.fogcreek.com/FogBugz/blog/category/Wasabi.aspx Honestly, the problem domain is not an indicator of the programming interest of a project.

It's a general rule - if you are working in a boring problem domain, then you need to abstract out the boring part. Doing the abstraction is generally a very interesting task.

Example: you have a GUI test rig for a set top box. Your task is to generate tests for the setup, which works by doing screen captures, and then comparing the screen capture with a pre-recorded image of the screen, to verify that error messages are correctly displayed. The problem is that the tests are brittle - if the designer changes the shade of a pixel anywhere on the screen, your test breaks and has to be regenerated - a very boring, repetitive and time-consuming task. So, change the system - right a screen scraper with some OCR, that can actually read the screen. Now the screen design can change, and as long as the message still appears somewhere on the screen, your test passes. It's a very non-trivial, interesting problem in a relatively dull problem domain.

Conclusion, if your work as a programmer is boring, you're doing it wrong (unless you're doing documentation - good grief, I'd kill for a way of automating that well!)

Re:"Joel Spolksy is wrong about my work" - Kent Beck by biohacker42 on Wednesday February 04, 2009 @02:25PM (#466307)
I absolutely agree everybody, including the great ones, should write unit tests.

I think the storm in a programmer's tea cup here is exactly how much unit testing do you need.

Joel is accusing Kent Back and Robert Martin of wanting to write a whole testing framework for each and every little get and set method.

Re:"Joel Spolksy is wrong about my work" - Kent Beck by nostrademons on Wednesday February 04, 2009 @11:37PM (#467099)
That might apply to Robert Martin, but Kent Beck's on record as saying don't unit test getters and setters. "Test everything that could possibly break."

So, strawman.

Re:"Joel Spolksy is wrong about my work" - Kent Beck by dasil003 on Wednesday February 04, 2009 @02:16PM (#466295)
I don't think anyone ever accused geeks of really meaning sexy when they say sexy. More like, to each his own.