Workers should learn AI skills and companies should use it because it’s a “cognitive amplifier,” claims Satya Nadella.
in other words please help us, use our AI
Workers should learn AI skills and companies should use it because it’s a “cognitive amplifier,” claims Satya Nadella.
in other words please help us, use our AI
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”
It is pretty common to write unit tests for functionality that doesn’t exist (test driven development). It gets you to think about, and test, everything that needs to exist in the program before writing the program. This approach doesn’t always work, particularly in large code bases where you need to learn the structure of a module before you can even think about design.
‘Freezing the results’ is ok too, as long as you know the results are currently correct. The AI has no way of knowing this and poor programmers often don’t verify either.
It is very easy to write a shit test.
Oh yeah for sure, I have seen tests that are pretty useless, for me the way I do it is I write the first one or two tests then instruct copilot to follow the patterns and then it does well, ofc I have to double check it, but reading is easier than having to write it.