logoalt Hacker News

Teaching Kids Forth

66 pointsby rbanffyyesterday at 9:39 PM20 commentsview on HN

Comments

lebuffontoday at 3:16 AM

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.

jeberleyesterday at 11:56 PM

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.

show 1 reply
veltasyesterday at 9:52 PM

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.

show 5 replies
bolangitoday at 2:34 AM

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

sudbtoday at 12:36 AM

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.

show 1 reply
cameldrvyesterday at 10:44 PM

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.

q2dgyesterday at 11:17 PM

Why not Processing or P5.js?

show 1 reply
AI_hackeryesterday at 10:27 PM

[dead]

hecretoyesterday at 9:55 PM

[flagged]

show 1 reply
pbgcp2026today at 2:06 AM

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

show 1 reply