đź’ˇ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
[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
Kernel
which is inherited byObject
which 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.
Golden Rules of SketchUp Plugin Development
The Ruby language is very easy to extend to suit your needs. Some very pretty looking code can be written. However, when you write plugins for SketchUp’s Ruby API you should be careful. The e…
Procrastinators Revolt! (www.thomthom.net)
Advertisement