News for hackers. Stuff that matters.
Re:Towards Scala 3 by Cyph0n on Friday April 20, 2018 @10:58AM (#16885282)
Most uses of operator overrides in the Scala standard library make complete sense.

Want to add a value to a (mutable) Seq? Use +=.

Want to add a value and return a new Vector? Use +.

Want to build a new list that is the concatenation of two Lists? Use ++.

sbt is probably where you encountered "weird" operators, but their use has declined over the past few years from what I've seen.

There are no comments on this comment yet.