There's a package for UCBLogo. In a terminal window type: sudo apt-get install ucblogodrdagor wrote:Thirty years ago -- Pre Scratch -- a great little first language for young coders was LOGO. Also from the MIT lab courtesy of Seymour Pappert, LOGO remains a wonderful learning environment.
The source code of this language is openly available. But it requires a port. Any interest in bringing this gem to the RPi environment?
Code: Select all
to square repeat 4 [ forward 100 right 90 ] end
Code: Select all
def proc square local i for i = 1 to 4 cycle move (100) right (90) repeat endproc
It's really too bad that this language constantly gets relegated to a graphics toy. Logo is, in my opinion, probably one of the best first-language that someone can learn. Serious topics like recursion, higher-order functions, functional programming and anonymous functions are much easier to learn in Logo than many other languages. It's basis on Lisp (which becomes evident once you move past turtle graphics) makes it a powerful platform to learn complex computer science ideas. I really wish I had learned Logo before Basic when I was a kid. Recursion about killed me when I was first introduced to it in a college C class. And, many languages (Perl comes to mind) use a mutated form of higher-order functions that makes it harder to understand what's really happening (or what should be happening).[email protected] wrote: Most of the Logo teaching & use I saw way back then was to do nothing more than play with turtle graphics, although there were a few using the language for general purpose computing.
Users browsing this forum: No registered users and 3 guests