Safekipedia

Logo (programming language)

Adapted from Wikipedia · Adventurer experience

An animated illustration of a mathematical pattern called the Koch curve, created using a virtual 'turtle' drawing system.

Logo is an educational programming language created in 1967 by Wally Feurzeig, Seymour Papert, and Cynthia Solomon. Its name comes from the Greek word logos, meaning 'word' or 'thought'. This language was made to help students learn about programming in a fun way.

One special feature of Logo is turtle graphics. With turtle graphics, special commands tell a small robot, called a turtle, how to move and draw. This helps students understand how computers work by seeing the results of their commands as lines and shapes on a screen.

Symmetry around a point can be obtained using only a few instructions, allowing users to draw hypotrochoids like the one shown here.

Logo is also a multi-paradigm language, meaning it can be used in many different ways. It is based on another language called Lisp and can be used to teach many computer science ideas. One popular version of Logo is UCBLogo, which helps students learn about lists, files, and more.

Usually, Logo programs are run directly by a computer without being turned into a special set of instructions first. This makes it easy to test and change programs. Even though there are many versions of Logo, they all share the same basic ideas, making it a great tool for learning programming.

History

Logo was created in 1967 at Bolt, Beranek and Newman in Cambridge, Massachusetts by Wally Feurzeig, Cynthia Solomon, and Seymour Papert. It was made to help children learn by playing with words and ideas.

The first Logo turtle robot was made in 1969. Before that, there was just a picture of a turtle on the screen. These turtles helped kids learn programming by moving and drawing, which made learning fun and easy.

Turtle and graphics

See also: Turtle graphics

Animated gif with turtle in MSWLogo (Cardioid)

Logo is known for its turtle feature, which comes from a small robot. The turtle is a cursor on the screen that follows commands to move and draw lines. It can look like a triangle or a turtle, and some versions let you change its shape.

The turtle moves based on its own position. For example, the command LEFT 90 makes it turn left by 90 degrees. Some Logo programs let you have many turtles at once and even change how they look. Turtle graphics are also used in other places, like for creating special patterns called fractals.

Implementations

Some modern versions of Logo let many turtles move at the same time. Two popular versions are Massachusetts Institute of Technology's StarLogo and Northwestern University Center for Connected Learning's (CCL) NetLogo. They help us learn about how nature works and come with many experiments in subjects like social studies, biology, and physics.

There are many different versions of Logo, with 308 known types. Some are still used in schools, like MicroWorlds Logo and Imagine Logo. Others were made for old computers, like Apple Logo for the Apple II Plus and Atari Logo for the Atari 8-bit computers. Some newer versions include LibreLogo, which works with LibreOffice, and online versions like Lynx and LogoMor.

Influence

Logo influenced many other programming languages and tools. It helped shape Smalltalk and inspired Etoys, a learning tool made with Squeak, which is related to Smalltalk. Logo also affected how moving objects are programmed in AgentSheets and AgentCubes, like Logo’s turtle.

Logo was the basis for Boxer, a language made to be easy for everyone, created at the University of California, Berkeley and MIT. There are also tools like KTurtle, a Logo version for the KDE desktop, and newer ones like Kojo, a version of Scala, and Scratch, a fun, visual language you can use in a web browser.

Images

An abstract pattern of 20 interlocking circles created through programming code, showcasing a mathematical design known as a hypotrochoid.

Related articles

This article is a child-friendly adaptation of the Wikipedia article on Logo (programming language), available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.