News for hackers. Stuff that matters.
Re:Scala: Where it came from, Where it's going by shogun21 on Tuesday March 17, 2015 @04:25PM (#9221154)
When it comes to arrays, they use () to emphasize the fact that this is a function- arr(1) is arr.apply(1)- instead of directly accessing an element like other languages.

Scala makes sense and has a logic behind all its reasons, but sometimes it seems to go against convention for the sake of its own philosophy.

There are no comments on this comment yet.