News for hackers. Stuff that matters.
Re:Understanding contravariance by greydius on Friday June 22, 2018 @10:06AM (#17374036)
> The resulting code is cleaner, simpler, easier to maintain and more straightforward

I'd love to see the day when our profession invents and adopts objective metrics for attributes such as these so we don't have to rely on opinions.

Re:Understanding contravariance by ionforce on Friday June 22, 2018 @02:06PM (#17376015)
I think the argument to be made here is that gathering such metrics is difficult. So that's why no one does it.

Should we/can we improve upon it is another question.

Re:Understanding contravariance by zenonu on Friday June 22, 2018 @10:18AM (#17374119)
We have metrics such as cyclomatic complexity, however they don't connect with software engineers yet to drive decision making from my experience.
Re:Understanding contravariance by hinkley on Friday June 22, 2018 @12:10PM (#17375085)
That’s a synthetic benchmark based on a theory about reading comprehension.

GP is talking about trying to measure reading comprehension to see which patterns actually work.