3 ms·
No. Scala has neither operator overloading nor any kind of rampant form of it.
by frowaway001 12y ago
No. Scala has neither operator overloading nor any kind of rampant form of it.
- vorg 12y agoIn Scala you can define stuff like <*/+-> to mean anything you want. Are you perhaps arguing over my choice of words to describe this phenomena?
- frowaway001 12y agoYes. It's neither an operator nor are you overloading anything. The whole point is that everything is just a bog-standard method and infix notation is a orthogonal notion, separate from a method's name.