4 ms·
In Scala you can define stuff like <*/+-> to mean anything you want. Are you perhaps arguing over my choice of words to describe this phenomena?
by vorg 12y ago
In 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.