Hacker News new | ask | show | jobs
by eterps 66 days ago
This document demonstrates that nicely IMO:

https://miasap.se/obnc/data-abstraction.html

The examples near the top use the more familiar OOP approach, while the example at the bottom uses message sending.