+ 4

Why => instead of just = ?

19th Aug 2016, 4:41 PM
Vladyslav Bebekh
Vladyslav Bebekh - avatar
3 Answers
+ 11
=> implies association; associating a value with a key. = implies assignment; assigning a value to a variable. As they are different operations, different constructs are needed.
20th Aug 2016, 4:58 PM
Satyajit Chakraborty
+ 1
It is rule
20th Aug 2016, 11:54 AM
Evgeniy Kuznetsov
+ 1
=> association just indication = assignment operation
21st Aug 2016, 10:41 AM
Govindaraj M