Y
Hacker News
new
|
ask
|
show
|
jobs
by
thescrewdriver
4170 days ago
That's also one of the differences between Scala and Java. In Scala you have referential transparency, so you easily can switch between fields/properties and methods without changing the calling code.