News for hackers. Stuff that matters.
Re:Modern Java – A Guide to Java 8 by tajen on Monday November 16, 2015 @05:25PM (#10577712)
I'm not an expert. C++ uses -> for pointer dereference, e.g. o->p refers to the property "p" of object "o". I would assume C# inherits from C++ and had to define another operator.

Java probably followed Scala's notation, which is probably derived from mathematics where ↦ is an application (a function) and ⇒ is a simple logical implication.

Re:Modern Java – A Guide to Java 8 by incepted on Tuesday November 17, 2015 @12:06AM (#10579269)
Actually Scala uses =>, so Java went the opposite way. Kotlin also uses ->.

Doesn't matter much in the long run, you'll get used to whichever your language favors after just a few days or writing code in it.