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.

# a typical, idiomatic use of the fat comma in Perl my %newHash = ( first_name => "Tom", last_name => "Auger" );

Other articles related to "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:

    From one casual of mine he picked this sentence. “After dinner, the men moved into the living room.” I explained to the professor that this was Ross’s way of giving the men time to push back their chairs and stand up. There must, as we know, be a comma after every move, made by men, on this earth.
    James Thurber (1894–1961)

    I held my breath
    and daddy was there,
    his thumbs, his fat skull,
    his teeth, his hair growing
    like a field or a shawl.
    Anne Sexton (1928–1974)