News for hackers. Stuff that matters.
Re:Experiment: Unit testing isn't enough; You need static ty... by kingkilr on Wednesday June 20, 2012 @10:50AM (#4137241)
a) If you aren't touching that land mine you're missing the point. You can't say that one is free (except maybe it has a cost), and the other has a cost. That's just nonsensical.

b) Second, I'm going to argue that tests are actually free. And I think this because I don't care how good static type proponents think they are, I know they don't wait until it compiles and SHIP SHIP SHIP, they actually run their damned program. The alternative to automated testing is manual testing, not no testing.

Re:Experiment: Unit testing isn't enough; You need static ty... by wtetzner on Wednesday June 20, 2012 @10:55AM (#4137263)
> I'm going to argue that tests are actually free.

> The alternative to automated testing is manual testing, not no testing.

Actually, unit tests have different costs than manual testing. That doesn't make them free. For example, with unit tests, you now have more (possibly buggy) code to maintain.

Re:Experiment: Unit testing isn't enough; You need static ty... by dllthomas on Wednesday June 20, 2012 @11:09AM (#4137325)
> For example, with unit tests, you now have more (possibly buggy) code to maintain.

Well, that's no problem. Just hit them with a bunch of unit tests...

Re:Experiment: Unit testing isn't enough; You need static ty... by dhimes on Wednesday June 20, 2012 @12:09PM (#4137606)
Zeno stirred a little...
Re:Experiment: Unit testing isn't enough; You need static ty... by ngkabra on Wednesday June 20, 2012 @02:02PM (#4138229)
Really stirred? I thought he proved that motion is impossible...
Re:Experiment: Unit testing isn't enough; You need static ty... by dhimes on Wednesday June 20, 2012 @03:10PM (#4138598)
ha! touché