News for hackers. Stuff that matters.
Re:Evolutionary couplings between files reveal poor software... by rverghes on Monday December 15, 2014 @05:53PM (#8754972)
You'd probably see something similar when looking at a C/C++ project. I would expect significant coupling between header and source files.

The solution there was for future languages to combine the two. Maybe we'll see a future language combine unit tests and source into the same file.

Heh, maybe such a language would refuse to compile if public functions did not have an associated test.

Re:Evolutionary couplings between files reveal poor software... by pmontra on Tuesday December 16, 2014 @02:38AM (#8756198)
No need to wait. Rust has basic unit tests inside the source files doc.rust-lang.org/0.12.0/guide-testing.html
Re:Evolutionary couplings between files reveal poor software... by gear54rus on Monday December 15, 2014 @10:27PM (#8755745)
> refuse to compile if public functions did not have an associated test

Sounds like my worst nightmare.