Ruby Symbols
1
Name:
Anonymous
2010-07-04 15:32
What the poo is the difference between Ruby Symbols and Ruby Hashes? They seem to be the exact same thing with a different syntax to me.
a[:b] = c
a["b"] = c
2
Name:
Anonymous
2010-07-04 15:34
oh nose sir yuo must bee mistaken. teh symbol are aewsome
3
Name:
Anonymous
2010-07-04 15:43
Ruby Hashes
Swing and a miss
4
Name:
Anonymous
2010-07-04 16:30
I wrote out the answer for you, and then right before I posted it I realized this is something you could have easily googled yourself. This is a bad thread.
5
Name:
Anonymous
2010-07-04 18:36
>>3
Would've been hilarious were it in a thread about Java cache performance.
6
Name:
Anonymous
2010-07-04 19:31
>>5
'implying that puns are hilarious
7
Name:
Anonymous
2010-07-04 20:49
Thus, processor 1’s load from y occurs before processor 0’s store to y, implying r2 == 0.
implying r2 == 0.
Back to /b/, please.
8
Name:
Anonymous
2010-07-04 21:24
Strings are interned whereas symbols are not.
9
Name:
Anonymous
2010-07-04 22:00
11
Name:
Anonymous
2010-12-06 0:30
>>7
Fuck off,
``faggot'' .
12
Name:
Anonymous
2011-02-04 16:43