Y
Hacker News
new
|
ask
|
show
|
jobs
by
rbehrends
811 days ago
You can express immutability simply by making all instance variables private and not providing any methods to modify them.