SketchUp / sketchup-shapes

Shapes adds new tools for drawing more shapes and primitives in SketchUp.
http://extensions.sketchup.com/content/shapes
MIT License
26 stars 13 forks source link

Remaining code cleanup - Use symbols instead of strings as hash keys? #12

Closed johnwmcc closed 10 years ago

johnwmcc commented 10 years ago

I've read your link clarifying the difference between symbols and strings.

As far as I can tell, we can't use symbols as hash keys, since the values (in defaults = ...) get reassigned with each new instance of a class, and if I've understood correctly, you can't modify a symbol once it's defined.