Hacker News new | ask | show | jobs
by wnissen 2102 days ago
The classic example is wheels on a car. You model one wheel with tire, rim, bolts, etc., then create 4 "instances", at different locations, that are references to the wheel. A tremendous boon for correctness and productivity. Imagine a programming language where you could only copy objects by value, no pointers or references.