What is fat comma?

Fat Comma

Fat comma (also known as hash rocket in Ruby) refers to the “=>" operator present in some programming languages. It is primarily associated with PHP, Perl and Ruby, which use it to declare hashes. Using a fat comma to bind key-value pairs in a hash, instead of using a comma, is considered an example of good idiomatic Perl. In CoffeeScript, the fat comma is used to declare a function that is bound to this.

Read more about Fat Comma.

Some articles on fat comma:

Fat Comma - Subtleties - Ruby
... In Ruby, the fat comma is the token to create hashes ... In Ruby, the fat comma is occasionally called a hash rocket ...

Famous quotes containing the words comma and/or fat:

    I didn’t have to think up so much as a comma or a semicolon; it was all given, straight from the celestial recording room. Weary, I would beg for a break, an intermission, time enough, let’s say, to go to the toilet or take a breath of fresh air on the balcony. Nothing doing!
    Henry Miller (1891–1980)

    There lives not three good men unhanged in England, and one of
    them is fat and grows old.
    William Shakespeare (1564–1616)