Automate, Automate, Automate
As a programmer, I always encourage myself and others to be lazy.
No, I’m not kidding. Programmers should be lazy.
In my early days as a professional programmer, I worked like crazy. I like to do something manually. I like to type a command like
java happypuppy.class and if there were errors, I also like to type
setenv CLASSPATH ... happily. Manually. Without doubt.
When it comes to web development, I would zipped all the php files needed, sent it through ftp or scp (manually or by using tools like FileZilla or Cyberduck), unzipped it on the server side and opened the browser to test whether it’s worked on the server or was something broken there.
Building Android application was a little bit messy. I tested the code against my environment (and my emulator), I compiled and built the code manually using Eclipse and then take the individual apk file to be signed using command line. After that, I uploaded the apk to the server and let others to try. If bug was found, I would fix that bug on my local machine, re-compiled and re-built it using Eclipse. Take the individual apk file to be signed, uploaded the apk and let others to try again.
I might not realize that someday I would be terminated from this world knowing that the cause of my termination is an infinite loop. I hope not.
I learned very much in those process and I would never regret that I have ever been a ‘diligent’ programmer. I might not knowing anything if I just jumped over the process and using some tools that were just made to make my life easier. I might just said that I learned the hard way.
I started to understand the SVN and Git. I started to use bash script and Python script as much as possible. I started to learn Ant as part of Java build tools (you guessed it. It solely for Android). I started to get my feet wet with Hudson and Jenkins. I started to play with JUnit, Robotium, and Selenium. Bunch of tools I learned that makes me what I am today.
After all those things, I arrived at the conclusion that programmers should be lazy.
Reasons? Continue reading