When I first touching programming in 1988, it was not very common in Malaysia. The first programming language that I learn is LOGO. Even though it is a very simple programming language, it is great in instilling our interest in programming. In LOGO, we basically use some simple syntax to command a cursor to draw. LOGO is a very old program that first appears in 1967. You can still download the free MSWLOGO (here) or ACSLogo (here) interpreter to have a try. It’s fun!
In LOGO, we call the cursor “turtle”. We can use simple commands like “FORWARD”, “LEFT”, “RIGHT” to make the turtle move. Try the following:
FORWARD 100
LEFT 144
FORWARD 100
LEFT 144
FORWARD 100
LEFT 144
FORWARD 100
LEFT 144
FORWARD 100
Copy and paste it into UCB Logo, you will see a star!

It’s even better for you to paste line by line to see the turtle in action.
It was this star that ignite my programming passion until today.
I will follow up with more examples on my next return. Keep in touch!
0 comments:
Post a Comment