You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This second way of calling a method is known an operator style.
I've never heard of this name before. Is this "operator style" term used somewhere else? I am not sure if I'd associate dot-and-paren style more with "operator" than the infix notation, since operator precedence etc would affect infix notation more.
The text was updated successfully, but these errors were encountered:
The term I see most is "infix operator notation" ("operator notation" works, but it includes prefix operator notation for -1), which is also the same term that's written right under it.
+1. We probably should explain that operators are methods, but not use it so much.
https://www.creativescala.org/creative-scala.html#values-are-objects 2.2.2 Operators says:
I've never heard of this name before. Is this "operator style" term used somewhere else? I am not sure if I'd associate dot-and-paren style more with "operator" than the infix notation, since operator precedence etc would affect infix notation more.
The text was updated successfully, but these errors were encountered: