Homeless Constants —
Today, one of my colleague came to me and asked: “Hey, do we have a place to put a general constant?”. “What?” - I said. “A class, you know, to put all constants that do not particularly belong to anywhere, something general” - He replied. Then I looked at him and said: “Dude, we got nothing such as general constants”.
The sad truth is, in our current project, we got a class named GeneralConstants just for putting all those constants in it.…
2012-Jun-26
Thoughts when reading How to Win Friends and Influence People —
After reading section “Twelve Ways to Win People to Your Way of Thinking”, I recalled that I’ve applied the principle “Start with questions to which the other person will answer yes” months ago with one of my colleagues.
At that time, my team was working on a project with another team, they started first and later we joined. At first, the way we created & updated the database actually sucked. The first time when I looked at the sql files, I had no idea how to run those.…