Teaching Kids Forth

rbanffy 71 points 22 comments July 26, 2026
gracefulliberty.com · View on Hacker News

Discussion Highlights (9 comments)

veltas

I really love Forth and spend almost all my free programming time playing with it and I'd never teach it to a class of kids.

cameldrv

Writing RPL on my HP48 as a young teenager influenced the way I thought about programming significantly. RPL IMO is underrated as an educational tool. It introduces the stack based concept, but also the "everything is an object" concept. As a useful language I'm not sure, but it was definitely fun to think about.

q2dg

Why not Processing or P5.js?

jeberle

Leo Brodie's "Starting Forth: An Introduction to the Forth Language and Operating System for Beginners and Professionals" is well-suited for any level student. It's quite fun and made a mark on my thinking. It's hard for a postfix dereference operator not to.

sudb

I doubly enjoyed reading this because I feel like I'm reasonably sure the author never ran this through an LLM because of the "cirriculum" typo.

pbgcp2026

All things considered, unfortunately , we are better off teaching them plumbing or painting ...

bolangi

Decker, a hypercard style app, seems to give quick gratification. Looks like an easy and fun way to get started with programming. Was just posted to HN: https://news.ycombinator.com/item?id=49060856

lebuffon

I used Forth to explain numbers in different radices to my grandson. Being able to interactively try things at the console was really helpful. It also helps to separate the internal number in the machine from how we display it, due to the different operators to print numbers as signed or unsigned. This is something that I have seen young programmers confuse. I think another area where Forth can help young people is in understanding some low level details like memory addresses and reading and writing memory. It seems simpler than abstracting it to "pointers", more like assembler but interactive.

sieste

> I wanted to avoid teaching syntax. While Python makes sense as pseudocode [...] it is still nearly incomprehensible to new learners [...] I decided I wanted to either teach Forth or Haskell. Sorry but this reads like a joke. If you find python incomprehensible, Forth and Haskell won't even register as languages.

Semantic search powered by Rivestack pgvector
14,941 stories · 139,598 chunks indexed