“works. Scala decides precedence based on the first character of the methods used in operator notation (there's one exception to this rule, which will be discussed below). If the method name starts with a *, for example, it will have a higher precedence than a method that starts with a +. Thus 2 + 2 * 7 will be evaluated as 2 + (2 * 7), and a +++ b *** c (in which a, b, and c are variables, and +++ and *** are methods) will be evaluated a +++ (b *** c), because the *** method has a higher precedence than the +++ method.”
―
Programming in Scala
Share this quote:
Friends Who Liked This Quote
To see what your friends thought of this quote, please sign up!
0 likes
All Members Who Liked This Quote
None yet!
This Quote Is From
Browse By Tag
- love (101344)
- life (79362)
- inspirational (75842)
- humor (44338)
- philosophy (30964)
- inspirational-quotes (28889)
- god (26865)
- truth (24739)
- wisdom (24617)
- romance (24350)
- poetry (23293)
- life-lessons (22585)
- quotes (21011)
- death (20532)
- travel (20092)
- happiness (19002)
- hope (18526)
- faith (18384)
- inspiration (17297)
- spirituality (15702)
- relationships (15530)
- religion (15375)
- motivational (15323)
- life-quotes (15301)
- love-quotes (15138)
- writing (14938)
- success (14185)
- motivation (13177)
- time (12864)
- motivational-quotes (12154)

