Wednesday, November 30, 2005

Programming --> Wizarding?

Well, I was an informatics students. But I have this strange feeling, not knowing wheter I like to do programming or not.

On one hand, I think I dislike it. Umm, I think it is just because I don't like electronics. I mean such things related to electrical components. Am I making you confused? Hehehe, let me give you an example. At home in Riau, I would never lay my hand on those electrical thingies if there's such problem. I'm just not a problem solver for that stuff. On the contrary, my brother is just a big fan of that kinda stuff, and yeah he is very good at it. Conclusion: I'm not interested in that area and it kinda bringing an influence to me for not liking computer hardware. I think that is also the reason why I'm not interested in computer network, socket programming, and those kinda programming stuff related to hardware (It would be most of the subject in Laboratory of Distributed System, in my undergraduate study )

On the other hand, I realise that I like programming too. There's something enjoyable in solving a given problem using lines of codes. Replacing a bunch of repeated action into a simple loop, using an already-developed subroutine to develop bigger-purpose-subroutines, etc.

I just realised yesterday that it's similar to wizarding world (Huehehe, it is likely that I'm
still under the influence of Harry Potter - just watched the latest film and read the latest book).

Take for example, you have to provide a feature in a software. Then you realise that it would take a plenty of time to develop it from scratch. Then you find some already-implemented subroutines or libraries that are usable to help you reducing the amount of time and effort you think you will spend to finish the task.

I compare it to the Triwizard tournament Harry Potter had to go through in his 4th year in Hogwarts. The first task is obtaining a golden egg which was guarded by a Hungarian Horntail Dragon. At first he didn't know how to succeed the task. But then he was told that he can use his skill in flying-on-broomstick. The only thing left to do was learning the Accio spell. Task done!

And in the second task, he had to rescue Ron from the Merpeople. He knew he need to survive staying long enough underwater to succeed the task. Many ways to do it. He could've learned to create an air bubble covering his head to provide him oxygen, or transfigured himself to a water-creature. But those would be taking much effort and time. Since time was tight, eating Gillyweed was a feasible yet effective solution to his problem.

Now, that is the similarity I found between programming and wizarding (and maybe in other area). The resources are available around us. The only challenge is to find which one is the more suitable to solve our problem. Sometimes it seems a very hard task. But then frequently it turns out that the solution is very simple.

Hehe, just a thought.

update:
Moral of the story: Well, our own life can be as exciting as the one in film or story book. Just keep it going and find the excitement!