Can you fix the test?
06 Dec 2018
Learning from analyzing code is one of the greatest ways to improve your skills. Can you spot the mistakes in the tests below?
Learning from analyzing code is one of the greatest ways to improve your skills. Can you spot the mistakes in the tests below?
Too many times I’ve seen developers trying to avoid crashes at all cost. But are unhandled exceptions really that bad? And are null checks really the answer?
If you can code, you can also write unit tests. Writing awesome tests on the other hand is a different story. Don’t fool yourself: Unit testing code is production code that you will need to maintain, refactor and build upon...
Do you remember the last time you had to dig into strings.xml to find the right String to use? Or that you manually had to go over all drawables to find the one you needed?