4 ms·
There are also many different ways that people pronounce -> and =>, although it might vary depending on programming language.
by dan_manges 15y ago
There are also many different ways that people pronounce -> and =>, although it might vary depending on programming language.
- pavel_lishin 15y agoHow do you pronounce it? I usually say "arrow", or "dash-greater-than"... but come to think of it, I very rarely have to ever actually say this.
- RickHull 15y ago=> is known as a fat comma or a rocket in Ruby circles.
- pavel_lishin 15y agoRocket makes sense, but fat comma?
- onedognight 15y agoIn Perl "=>" is (almost) a comma, i.e. { a => 1, b => 2} is the same as { "a", 1, "b" , 2 }. I assume Ruby with its Perl heritage has this to some degree.
- cpeterso 15y ago<=> is the "spaceship" operator in Perl, Ruby, and Groovy.