Skip to content

Instantly share code, notes, and snippets.

@ahoward
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ahoward/830a2cbcebcf9bc8f8ea to your computer and use it in GitHub Desktop.
Save ahoward/830a2cbcebcf9bc8f8ea to your computer and use it in GitHub Desktop.
hash rockets are more beautiful than colon-oscopies
segment = Segment::TwitterFollowers.create(
name: "Demo Twitter Followers Segment #{ timestamp }",
account: account,
client: client,
definition_data: "@nike\n"
)
VS
segment = Segment::TwitterFollowers.create(
:name => "Demo Twitter Followers Segment #{ timestamp }",
:account => account,
:client => client,
:definition_data => "@nike\n"
)
@coreyhaines
Copy link

Colons aren't sharp and pointy, though, so safer for use by the young. Think of the children!!

@jc00ke
Copy link

jc00ke commented May 9, 2015

I appreciated @samphippen's POV on the foo: syntax in http://giantrobots.fm/145 (minute 34)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment