Apr 2, 2021
I seem to be having trouble spotting the tests in your example. I don't think you can really compare two different ways of writing code unless you also look at how easy or hard it is to write the corresponding tests.
I seem to be having trouble spotting the tests in your example. I don't think you can really compare two different ways of writing code unless you also look at how easy or hard it is to write the corresponding tests.
Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.