News for hackers. Stuff that matters.
Re:Scala use is less good than Java use for at least half of... by barnaby on Wednesday September 07, 2011 @01:58AM (#2968553)
Agreed. My net total for LOC written in the past year is probably -700, because I've refactored so much verbose code.

I don't know how to count unit tests in such a metric though... because I took a code base from 2% code coverage to 70% and that meant writing something like 200 LOC in unit tests alone per day, even though the actual code being refactored under these tests diminished in size.

Re:Scala use is less good than Java use for at least half of... by bartwe on Wednesday September 07, 2011 @09:48AM (#2969471)
I'd count the unittest code too, it needs to be maintained too.
Re:Scala use is less good than Java use for at least half of... by esrauch on Wednesday September 07, 2011 @10:30AM (#2969601)
It's easier to maintain unit tests if you write unit unit tests for them.
Re:Scala use is less good than Java use for at least half of... by sirclueless on Wednesday September 07, 2011 @11:17AM (#2969849)
You laugh, but if someone accidentally shipped some code in their unit test library that made assertEqual(1, 2) always return true I might be a very unhappy camper.