4 ms·
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 me
by thescrewdriver 12y 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.