Fully dynamic d by opDotExp overloading
BCS
none at anon.com
Sat Apr 18 08:54:24 PDT 2009
Hello Christopher,
>
> Testing the logic of your code will catch the latter error and not the
> former. But the former isn't an error, if it has the same result.
>
IIRC dynamic language do gobs of TDD/unittests because they have no choice
for just this reason. Any other approach and you have no clue what you'll
get. Given a choice between an option that lets in static checking and one
that forces the use of runtime testing/checking, I'll go for the static choice
every time. (sorry if I'm getting OT)
More information about the Digitalmars-d
mailing list