OT: on IDEs and code writing on steroids
bearophile
bearophileHUGS at lycos.com
Wed May 20 04:21:35 PDT 2009
Ary Borenszweig:
> That's why generics doesn't suck: if there's something wrong in them,
> the compiler tells you in compile-time. In D, you get the errors only
> when instantiating that template.
It's just like in dynamic languages, you need to unittest them a lot :-)
So having a "static throws()" to assert that a template isn't working is very useful.
Bye,
bearophile
More information about the Digitalmars-d
mailing list