4 ms·
The thing is, Smalltalk (and Forth, and to a certain extent Lisp) do what they do by pretending that everything outside the language runtime doesn't really exis
by gaius 17y ago
The thing is, Smalltalk (and Forth, and to a certain extent Lisp) do what they do by pretending that everything outside the language runtime doesn't really exist. I wonder how much it's possible for young children to really care about manipulating symbols in such a closed world. Now consider LOGO which is all about moving the turtle around the the floor (and is quite Lisp-like). Even now, decades later, when I'm typing the commands that will make the tape robots in a distant datacentre spin into motion, I'm remembering LOGO at primary school...
- logician 17y agoSmalltalks usually come with some sort of graphical environment that facilitates the building of GUIs. Those environments usually also provide simpler graphical primitives you can draw with. In fact, if all you want is LOGO, you can use the Pen class (a standard ST-80 class) in Squeak or Pharo as a LOGO turtle: p := Pen new. 360 timesRepeat: [p go: 1; turn: 1]. that will draw a circle. 4 timesRepeat: [p go: 100; turn: 90]. and that, a square. More complicated stuff can be done with Morphic and eToys.
- gaius 17y agoYep, but the important part of a LOGO teaching system is the real actual turtle moving around a giant piece of paper. It makes it "real".
- JulianMorrison 17y agoI don't know why you include Forth in that "closed world" category. It was originally designed to control machinery, and it's still ideal for exploratory embedded code.
- gaius 17y agoIn Forth the BLOCK mechanism for file access is unlike any other programming language, for example. It doesn't even really have a concept of a filesystem or files; you load pages into memory yourself.
- JulianMorrison 17y agoBlock files are for when Forth is the OS and you want a quick simple way to divide up your storage. Forths that are hosted on eg: Linux all let you use the regular filesystem.
- gaius 17y agoYes I am not knocking Forth as a language for embedded systems. I own a copy of Thinking Forth and it's great. But it's not what I'd use to teach kids (having had LOGO and BBC BASIC myself).