Monday, April 20, 2009

Cooking and programming...

When I was in the second year in UKM, I learnt how to cook from my mom. That was an unexpected consequence that it help me a lot to build up my programming sense in my future study.

I was taking web programming that time, it is really headache when deal with javascript and css. Those are scripting languages that I used to learn in my early age at 15. But I do like HTML, and I am really the type of programmers that don`t have talent on designing, that is why CSS is really hard to me.

However, when I was taught on how to cook, chinese dishes, I somehow found the connection between programming and cooking... FTSM courses suddenly becomes fun to me and I do, like programming very much since then.

When cooking, there are various of things to consider.. I have to prepare the ingredients from major materials to supplements. I have to washed them carefully, cut them in pieces sometimes , it just like defining the valuables in C++, have to setup each datatype, what is integer, what is character and strings... haha... the ingredients are all programs inputs!

The steps in cooking, some have to fry, steam, rinse.. each of them requires different degree of fire level.. it is analogous to programming when we have selection, loop, and condition... IF the meat is yellow enough, THEN off fire... haha... I used to create my own programming codes during cooking...It is really fun!

Let`s go back to web programming, I don`t have the talent to design... that is what I know since I was young... webpage layouts is really not the place for me to perform well, but after I learn how to cook, I have to arrange the dishes, decorate it a bit... that makes me pay attention to web layout. It makes me feel that I do can`t escape from preparing good layout for my programs output... haha... imagine dishes which is not in nice shape, who would dare to eat it even it was told it is delicious... That took me a week time in my semester break to study CSS... It is worth to do it, cause it really help a lot in beautify my webpages... hehe.

Cooking requires me to tidy the utensils and supplements nicely. I have to know where the salts and sugars is, so that during the cooking, can have it easily. It gives me the chance to practice database knowledge here... I relates each materials and try to query it like SELECT meat, vege, tomato, sugar, pepper FROM kitchen, cupboard, recipe WHERE cupboard.supply_id=recipe.id... practicing SQL combination in kitchen...

Speaking about cooking rice and porridge, it is the matter of fuzziness in dealing with water and paddy...hehe, practicing FUZZY for AI during rice cooking... That doesn`t count for the control of fire during cooking too...

Integrating study with life is one of my secret in my study philosophy... Everyone can do that.. It is the CORRECT ways to applied our knowledge...

If you creative enough, you can makes all the skills you learnt in bioinformatics being applied in any works or task in future.

My own comments after 3 years in UKM,
Don`t waste your money and time in university, start figure it out your own way to applied all those knowledge. I think that will be more meaningful that chasing pointers...

1 comment: