[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.
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)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement