Rant after trying Rust a bit
Jonathan M Davis via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 24 14:32:18 PDT 2015
On Friday, 24 July 2015 at 20:57:34 UTC, Artur Skawina wrote:
> The difference is that right now the developer has to write a
> unit-test per function that uses `hasPrefix`, otherwise the
> code might not even be verified to compile. 100% unit-test
> coverage is not going to happen in practice, and just like with
> docs, making things easier and reducing boilerplate to a
> minimum would improve the situation dramatically.
But you see. This is exactly wrong attitude. Why on earth should
we make life easier for folks who don't bother to get 100% unit
test coverage? A feature has to add more value than to simply
make it so that you're slightly less screwed if you don't write
unit tests.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list