This morning, a former on the job trainee asked me to give
him some tips on how to improve his coding skill. I would like to share this to
everyone, especially those who loves programming. Some of the thoughts are not
my original idea, some of these I got from books, friends, teachers and
colleagues who help me improve my coding styles in programming.
Tip No. 1: Think like
an artist. Everytime you put your fingers to the keyboard to start
designing a program think as if you are painting a masterpiece – a wonderful
work of art. Just like an artist, your masterpiece should be clean and well-polished.
Avoid unnecessary lines, lines should be well aligned, remove complicated codes
that makes your code unreadable by spectators.
Tip No. 2: Be
insecure to yourself. Don’t be too confident with your code, even a master
in programming has the possibility of overlooking some errors in his code. So I
suggest reading your code very well, understanding how you code it and making improvements
as needed.
Tip No. 3: Be a
perfectionist. It’s true that nobody is perfect but if you try to be
perfect, you are pushing yourself to be on its best.
Happy Coding Everyone : )
“All things are created twice; first mentally; then physically. The key to creativity is to begin with the end in mind, with a vision and a blue print of the desired result.”
ReplyDelete~ Stephen Covey