News for hackers. Stuff that matters.
Re:JSDev: Executable comments (by Douglas Crockford) by ScottSauyet on Thursday January 05, 2012 @10:58AM (#3429108)
I'm concerned that this will facilitate testing of private implementation details; I do believe that the public API is the only thing that should ever be tested. If you need to test the implementation details of your unit, then that should be pulled out into another unit which is in some way included in this main unit, and tested in that context.

There are no comments on this comment yet.