Stephen Freeman Rotating Header Image

January, 2004:

I've had to close my comments

A sign of the times, some a***hole of a comment spammer has discovered my site, so now I’ve had to close the comments section.

Email me if you want to respond and I’ll post it.

Sigh

Missing the point of Mocks?

Triggered by “Crazy Bob”:http://crazybob.org/roller/page/crazybob/20040120#mock_objects_made_easy, “Aslak”:http://blogs.codehaus.org/people/rinkrank/archives/000565_static_or_dynamic_mock_a_brief_comparison.html and “Simon Brown”:http://weblogs.java.net/pub/wlg/937 responded on whether it’s better to create your own mocks with the IDE or use one of the dynamic mock packages, such as “JMock”:www.jmock.org. I think Bob and Simon have missed something…
(more…)

Windows vs. Unix. Is that it?

Joel Spolsky’s article on “Biculturism”:http://www.joelonsoftware.com/articles/Biculturalism.html suggests two things to me:

* it more or less implies Windows on the desktop and Unix on the server, which is probably not how Microsoft sees the world but seems to be what many organisations do.
* I may be a member of the last generation of programmers who got to work on operating systems other than variants of Unix or Windows, there’s some supporting evidence from “Rob Pike”:http://www.cs.bell-labs.com/cm/cs/who/rob/utah2000.pdf. Should we get on the boat with the elves and sail away?

Sometimes you have to bend the rules

In a comment on his posting “Testing the Mock”:http://blogs.codehaus.org/people/rinkrank/archives/000551_oh_no_were_testing_the_mock.html, Aslak Hellesoy points out that one of the solutions is less than perfect because it breaks encapsulation to allow testing. That’s true, but sometimes the right thing to do is bend the rules so you can test.
(more…)