April 8, 2016
1:23 a.m.
A symbol is like a string, except that all symbols with the same value are in fact the same object; that is, every #hello symbol is the exact same object as every other #hello symbol. See "identically equal" section here... http://sdmeta.gforge.inria.fr/FreeBooks/ByExample/08%20-%20Chapter%206%20-%2... cheers, ben On Fri, Apr 8, 2016 at 7:20 AM, Valentin Ryckewaert <valentin.ryckewaert@gmail.com> wrote:
Hello everyone,
i'm learning Pharo and i'm having difficulties to understand the symbols, what are they? How are they different of the ByteString ? Why are they usefull ? Why should I put #string where I can put 'string' ?
Thanks in advance for your answer. Valentin Ryckewaert