<@U0AK3QC2V> The business case for code coverage s...
# code-coverage
p
@abreslav The business case for code coverage support in the compiler … making business cases is not exactly my forte. I can do a better job making a legal case and it goes like this: imagine a large enterprise company (call them Goggle) making a bus riding service. One day a Goggle bus goes over a cliff with all 36 12 year old students plunging to an unfortunate end. In the ensuing class action suit the plaintiffs win the suit against Goggle on the expert testimony of a testing guru who pointed out that the fatal line of code was never executed by any tests, of which there were many. The developers defended themselves by saying that there is no support for code coverage in the Kotlin/Native tool chain they were using, so what could they do? Switch languages was the edict of the Goggle, Inc legal staff who were now running all application development after the $1trillion damages were awarded. Use any LLVM supported language instead, the lawyers continued, since they all support code coverage via compiler arguments. Kotlin was thereafter banned at Goggle and plunged in the Tiobe rankings month after month. …. [Please forgive the poetic license. 🙂 ]
👍 1