News for hackers. Stuff that matters.
Re:ES6 in Depth: Symbols (2015) by yomly on Wednesday July 12, 2017 @08:40AM (#14751964)
Using symbols I think is more expressive than using strings.

I like the separation of strings for external data and symbols for internal data.

So symbols will usually be used for enums or things which logic or control flow depend on. Symbols then have the benefit of feeling like syntax and the scheme zen of code is data is code...

There are no comments on this comment yet.