Antonio081014: October 2013

Pages

All My Blog Update

Friday, October 18, 2013

Today's Lesson

As a Java Programmer for years, I barely use JUnit to test my code, except testing some implementation of challengeable algorithms. Today, one class I wrote several months ago cost me 3 hours to find the bug in it. I almost went through every corner of my project to find which could be the cause. Then, I just realized one copy-paste produced mistake is the reason for all. This makes pretty mad, especially these kinds of problems waste the time this long. I think it's time to start using JUnit to test every piece of code right after I "thought" I finished.

Tuesday, October 8, 2013

A very good way to see challenges

Most importantly, keep smiling, especially when things get tough. Learning happens when you are happy. And, ultimately, happiness is a state of mind that is largely under your control.