programming language and the designer's stand on testing the
implementation. Dean writes that...
"TDD provides two important benefits
* Driving the design.
* Building a suite of automated regression tests. "
But another important benefit of a good collection of tests is communication.
Clojure is a fine Lisp in many ways. I personally would hesitate to
use it for anything in which I had a significant investment given the
maintainer's stand on testing. At least not without a good deal of
evidence that Clojure will continue to be maintainable and understood
(at the implementation level in particular) by more than one person.
Maybe his approach will work over a long period of time, and for a
user community that will rely on Clojure for many heavy-duty, valuable
production uses. I cannot say that it won't.
I can only say that for _me_ this would be a significant reason to
hesitate before taking too significant of a plunge.
And that's saying something because I am a veteran of programming in
various Lisps for 29 years, and Lisp generally is my favorite
language. I love that Clojure has rejuvenated interest in Lisp.
http://blog.objectmentor.com/articles/2009/06/05/rich-hickey-on-testing
No comments:
Post a Comment