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

Reply via email to