Skip to the posts
Buffalo's neighborhood journals since 2003 🍀 Patrick Spicy Devil Logan🌭 Sahlen🥨 Weber Spank🥟 Pierogi🐸 Scaj🍺 Labatt Utica Pink Cherio❄️ Snow Murder

jim’s journal

🏷️ programming

13 posts

Programming Stuff

· · 🌡️ 84°F

In Ruby 2.0, a new hash literal syntax (like javascript!)

{a: "thing"} # ruby 2.0

{:a => "thing"} # ruby 1.8

array('a' => "thing") # and PHP

Succinct.