Episode #467: Class Variable

Have you ever been baffled by the way Ruby '@@' class variables behave? Have your been told by a senior developer or by a team coding standard that you shouldn't use class variables, and wondered why? In this episode we'll clear up the mysteries around Ruby class variables once and for all. You'll learn why many Ruby programmers avoid them. And you'll learn a safer and less surprising alternative.

This page is just for members. Sign in or subscribe to gain access!