Startup Project – Part 3 : Testing, Mocking and Learning

Untitled design (5)It’s amazingly interesting what you learn when you’re in the throws of unit testing code. It particular when you’ve written more code than you’ve written unit tests. Yeah, yeah, I know, unit tests should be written with the code as you go; TDD. But let’s face it sometimes you just need to get stuff done. Until you get to the point where you think that now’s a good time to unit test everything.

I spent the whole afternoon, up until 11:30pm writing unit tests. Refactoring some code to make some of it easy to mock. And other parts I rewrote simply because it’s the right thing to do for OOP’s sake. It’s fun. Not everyone likes to unit test, but I love it. It gives me that satisfaction that my code is well written. Especially that feeling you get when you know the architecture you designed is solid. And the libraries you’ve chosen haven’t failed you. Plus learning something new about Java 8. Continue reading “Startup Project – Part 3 : Testing, Mocking and Learning”

Learn to adapt in difficult situations quickly

Untitled design (4)I was in a meeting recently with someone more senior having a great conversation. Everything was flowing. I was able to keep up and stay on the ball. Then he asked me one question and I answered it right away without much thinking. Suddenly, I felt everything go downhill from there. The meeting ended cordially, but with a little whimpering fizz at the end.

The problem wasn’t with the answer I gave, but how I provided it. I sounded so much like a junior. Of course, I need to figure out how to answer that question like someone with more experience would. But the point is that I caught it right after the meeting. Right then, I knew I had done something wrong. But also, I needed to do something about it. And be able to apply that fix the next time around. That’s adaptability. Continue reading “Learn to adapt in difficult situations quickly”

Categories ABC