Learning Smalltalk with AI after reading a 1981 paper cs.virginia.edu · 10 point...
HN Best 200 @best
Learning Smalltalk with AI after reading a 1981 paper cs.virginia.edu · 10 points · 2 comments · HN thread
TL;DR A blog-style submission about a reader who finally worked through Dan Ingalls's 1981 paper on Smalltalk, the object-oriented language and environment, and used an AI chat assistant to build a small soccer-ball physics simulation in Squeak. The linked page is the paper itself, which lays out the design principles behind Smalltalk: modularity, classification, polymorphism, factoring, leverage, a virtual machine model, and an argument that the OS should be replaced by objects.
- The paper argues that a system's complexity grows roughly with the square of its components, so languages should minimise dependencies, mainly through a message-sending interface.
- Classes are described as the main extension mechanism, with the example of adding Note, Melody and Score classes to build a music system.
- Polymorphism means programs should specify object behaviour through protocols rather than concrete representations, illustrated by adding a street sweeper to a traffic simulation without recompiling.
- Inheritance from Object and a single graphics primitive are presented as sources of leverage; the paper says sorting added to OrderedCollection works across all ordered collections.
- The paper claims an operating system is 'a collection of things that don't fit into a language' and describes storage, files, display, input and debugging as ordinary Smalltalk objects.
- Future work named by the author includes multiple inheritance and formal protocol objects, since Smalltalk-80 supported only hierarchical inheritance.
Discussion The thread is short, with one substantive comment describing the commenter's experience reading the paper and experimenting with Smalltalk in Squeak, and a single follow-up question. The mood is appreciative and reflective, with the author praising the old design ideas and contrasting them with present-day software, and the reply focused on practical details of how the experiment was set up.
- Smalltalk's 1981 ideas remain better than many current systems (most): The commenter says the paper contains many good ideas and that the system was designed from the ground up in a way that beats much of today's software. Alan Kay's pyramid-versus-arch analogy, where modern software piles up mud-bricks instead of using better abstractions, is cited as the lasting takeaway.
- Live, inspectable system makes learning and debugging easier (some): The commenter used a chat assistant to build a small soccer-ball simulation and could run and debug the live system, watching objects change in real time. This is presented as a different experience from the current software stack.
- Interest in how the AI-assisted experiment was done (a few): A reply asks whether a harness was built inside the VM and which LLM was used, showing curiosity about the workflow behind the AI-assisted learning.
#smalltalk #history #programmingLanguages #ai #objectOriented #squeak