Hacker News new | ask | show | jobs
by promiseofbeans 898 days ago
> instead of things being like “pos.add(5)” if pos is a record you need to reassign it like “pos = pos.add(5)”... That's just mutable vs immutable data structures