[webkit-dev] When should I use AtomicString vs String?

Simon Fraser simon.fraser at apple.com
Sat Jun 1 21:15:50 PDT 2013


Gecko simply calls these “Atoms”. StringAtom? AtomString?

Simon

On Jun 1, 2013, at 9:09 PM, Glenn Adams <glenn at skynav.com> wrote:

> 
> On Sat, Jun 1, 2013 at 9:56 PM, Darin Adler <darin at apple.com> wrote:
> On Jun 1, 2013, at 8:54 PM, Glenn Adams <glenn at skynav.com> wrote:
> 
> > You guys obviously never wrote any Lisp code.
> 
> Lets not play this game. When I met Maciej he was the maintainer of one of the most popular Scheme implementations, if I remember correctly.
> 
> Sorry, I forgot to add a smiley... :)
> 
> Seriously, if "Atomic" isn't jargon, Intern isn't either. In any case, I don't particularly care either way. Once you learn its function, you forget about the name. But the name did throw me, since I asked myself "what makes this more 'atomic' than String, synchronicity wise"? I'm sure I'm not the only one who wondered about this.
> 
> My reason for suggesting "Interned..." was simply because that was how Ryosuke chose to characterize it as being different from String.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130601/bd3c97c6/attachment.html>


More information about the webkit-dev mailing list