News for hackers. Stuff that matters.
Re:How Scala Changed My Programming Style by shrughes on Wednesday April 29, 2009 @04:02PM (#585749)
Yes. When overloading prefix and postfix increment, there are two functions to write, and the postfix version returns a copy of what you've incremented. It's impossible for a compiler to optimize this away in the general situation.

There are no comments on this comment yet.