Comment on Microsoft CEO warns that we must 'do something useful' with AI or they'll lose 'social permission' to burn electricity on it

<- View Parent
kameecoding@lemmy.world ⁨22⁩ ⁨hours⁩ ago

Granted lots of mediocre engineers also use the “freeze the results” method for meaningless test coverage,

I’d be interested what you mean by this? Isn’t all unit tests just freezing the result? A method is an algorithm for certain inputs you expect certain outputs, you unit tests these inputs and matching outputs, and add coverage for edge cases because it’s cheap to do with unit tests and these “freeze the results” or rather lock them in so you know that piece of code always works as expected or it’s “frozen/locked in”

source
Sort:hotnewtop