2 ms·
Well, it's immutable. So why would it be a problem with bouncing it around? It's like a symbol in Ruby -- all instances of, say, :electron point to the same p
by aetherson 12y ago
Well, it's immutable. So why would it be a problem with bouncing it around?
It's like a symbol in Ruby -- all instances of, say, :electron point to the same point in memory, they're just used all over the place. The sharing isn't problematic because you can't change :electron.
Why would you want to use 'electron' instead where every time you use it, you put another instance of it into memory?