On 24/06/15 22:56, Steven Schveighoffer wrote:

I recently started learning ruby. Going through a tutorial, I came
across this gem (no pun intended) when talking about how both intern and
to_sym do the same thing:

Hmm, I didn't know about "intern". I've never seen in the wild.

"Why have multiple ways to do the same things?

Well, that's a silly question. To be able to write expressive code. A
language that only has one way to get from A to B is not a language at
all."

Wow.

Hehe :)

--
/Jacob Carlborg

Reply via email to