Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
[Example] Global methods are bad
-
This screenshot illustrates how global methods infects every class and module in the Ruby environment because they are added to
Kernelwhich is inherited byObjectwhich is the base of everything in Ruby.
This post is meant to be a visual example to why global methods are bad and why one should not create them.
http://www.thomthom.net/thoughts/2012/01/golden-rules-of-sketchup-plugin-development/
Advertisement