« Irish: more RESTful, less semantic? | Main | A surprise .profile »

Setup, Teardown

Brude Eckel is getting a lot of criticism about embedding tests in comments.

I'm curious about this for two reasons:

  1. How Bruce responds to this criticism, some of which has been harsh. He has taught in form of another, thousands of C++ and Java programmers over the years, and is highly regarded as a result.
  2. Whether it actually works. There's a vaguely analogous discussion going on in the Groovy community that intermixing languages in code via pluggable parsers would be a good, "enabling", thing. *

Either of these approaches look like things I want to steer clear of. JUnit in comments comes across as unreadable gorp one hundred classes later. Inlined languages comes across as a display of parsing and programming skill without stopping to think whether the end result is indeed enabling - there's a difference between enabling people and encouraging them to do stupid things (perhaps best understood by those who teach or have kids).

But then again, what do I know? I haven't actually tried them. Maybe they work - isn't that the real test?

[bob marley: easy shanking ]

April 10, 2004 10:03 AM


Trackback Pings

TrackBack URL for this entry: