Hacker News new | ask | show | jobs
by ma_mazmaz 4262 days ago
In Scala, there are both mutable and immutable data structures. Immutable data structures are preferred, however there are some cases in which a dash of mutability can simplify the code, especially in cases where Java inter-op is a must.