Apart from making it sightly more concise for defining hashes with symbols as keys, are there any other benefits of writing a hash as:
{key1: "value1", key2: "value2"}
instead of {:key1 => "value1", :key2 => "value2"}
?
Also, what is the convention when you have a mix of strings and symbols as hash keys?
Do you write it as {"key1" => "value1", key2: "value2"}
or keep the style consistant as {"key1" => "value1", :key => "value2"}