2 ms·
The article mentions that Logo did not provide a very good experience to the author. I am glad to know that he still found another way back to programming and h
by susam 6y ago
The article mentions that Logo did not provide a very good experience to the author. I am glad to know that he still found another way back to programming and had a great time with Rust. In my life, Logo opened a whole new world for me.
I began coding with IBM/LCSI PC Logo in my childhood days. The first line of code I ever wrote was:
FD 100
That's the "hello, world" of turtle graphics in Logo. That simple line of code changed my world. I could make stuff happen in an otherwise mostly blank monochrome CRT display. Until then I had seen CRTs in televisions where I had very little control on what I see on the screen. But now, I had control. The turtle became my toy and I could make it draw anything on a 320 x 250 canvas.
The next beautiful piece of code I came across in the same language was:
REPEAT 360 [FD 1 RT 1]
The code above draws an approximation of a circle by combining 360 short line segments. It showed me how control flow can be used elegantly to express complex ideas in a simple expression. And then I came across this:
REPEAT 20 [REPEAT 180 [FD 1 RT 2] RT 18]
The above code draws 20 overlapping circles. The output looks like this: https://susam.in/files/blog/dosbox-logo-1.png https://susam.in/files/blog/dosbox-logo-1.png. By the way, it is the same image that the author of this article has reused in his article. :-)
At an impressionable age of 9, reading and writing code like this, and using simple arithmetic, geometry, logic, and code to manipulate a two-dimensional world had a lasting effect on me. Back in those days, I used to find joy in sharing some of my interesting Logo programs with my teachers and friends. I like to believe that my passion for software engineering as well as my love for writing code, sharing code, and open source development are a result of coming across these beautiful code examples early in my life.
- susam 6y agoFor all the Logo fans out here, we have Slack and IRC channels at https://bit.ly/fd100slack1 https://bit.ly/fd100slack1 and https://webchat.freenode.net/#fd100 https://webchat.freenode.net/#fd100 . Most members of these channels are also Hacker News users. Please do join it even if you don't remember Logo anymore. The intention here is not to discuss Logo but to share the joy of computing that we discovered through Logo and has remained in our lives. I hope to see you all there. :-)
- larsbrinkhoff 6y agoFYI, we have some 50-40 year old Logo implementations from MIT backup tapes. Visit the freenode #PDP-10 channel to learn more.