# Class \<\< self considered harmful... really?

**URL:** <https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110>\
**Category:** RSpec\
**Created:** [November 25, 2008, 2:42pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110 "2008-11-25T14:42:15Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 28, 2008, 2:57am UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/41 "2008-11-28T02:57:32Z")

</div>

On Thu, Nov 27, 2008 at 8:27 PM, Mark W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> we need the construct later.  
> Great. That makes sense to me and I agree. Thanks for clarifying.  
> consistent convention and doesn’t delineate responsibility. That’s not a  
> given - it’s one of the things we’re discussing.  
> Ok, I think class \<\< self is more consistent, because you can use the  
> same idioms as in class Foo. You cannot when using def  
> self.method\_name.  
> I find that many of Ruby’s class stuff (@@ variables,  
> private\_class\_method, etc) as having to learn more stuff which I don’t  
> want to care about.

I’m wondering if this is a discussion about taste. I have my  
experience with both approaches and you have yours. Just because  
something works better for you does not mean its going to work better  
for me and vice versa. I know that using class \<\< self has been very  
helpful in making my design better and it helps me to understand the  
code vs the def self.method\_name.  
I see def self.method\_name as a useful shortcut in irb or when there  
are few (0 to many depending on the person and situation) simple  
methods on the class. There is a point to where it, IMO, makes the  
code more difficult to understand, though.

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 28, 2008, 3:18am UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/42 "2008-11-28T03:18:01Z")

</div>

On Thu, Nov 27, 2008 at 5:57 PM, Brian T.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> I’m wondering if this is a discussion about taste.

I think you’re right. I’ve been using the ‘def self.foo’ style in  
various  
languages for almost 20 years, so of course it feels more natural to me.  
These languages (except for Smalltalk) had nowhere near the  
metaprogramming  
capability nor ‘objects all the way down’-ness of Ruby, and ‘class \<\<  
self’  
is one of those things.

///ark

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 28, 2008, 12:13pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/43 "2008-11-28T12:13:15Z")

</div>

On Thu, Nov 27, 2008 at 12:52 PM, Nathan Zook  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> That’s not a surprise, that’s a feature. Know the difference between class  
> variables and class instance variables.

Said the preacher to the choir.

But even features can cause surprises. It’s a surprise when you’re the  
consumer of someone else’s code. For example, this problem used to  
exist in Rails:

ActionMailer::Base.smtp\_settings = { some\_config\_settings }

Then to give a particular mailer subclass different smtp settings,  
this seemed like a logical thing to do:

class MyMailer \< ActionMailer::Base ; end  
MyMailer.smtp\_settings = { my\_other\_config }

I was a bit surprised when it overrode the smtp settings for every  
single mailer, when I expected the change to just go to MyMailer’s  
smtp\_settings. This and many others like it have since been fixed in  
Rails, but Rails is not the only code I’ve seen do this.

Realistically it may take people using class variables incorrectly to  
see they really wanted a class instance variable. Hopefully these  
discussions help inform people before they have to make that mistake  
in code they are writing,

Zach

> > class A  
> > class C \< B ; end
> > 
> > class B \< A ; end

–  
Zach D.  
[http://www.continuousthinking.com](http://www.continuousthinking.com)

> **[Homepage | Mutually Human](https://www.mutuallyhuman.com)**
>
> We empower businesses to overcome challenges with a holistic focus on People, Process, and Technology for lasting results and innovation.

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 28, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/44 "2008-11-28T17:54:18Z")

</div>

On Thu, Nov 27, 2008 at 8:17 PM, Mark W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ///ark

FWIW, the blog that led to this discussion suggested a performance  
impact as well. As RSpec has gotten dinged for being slower than  
alternatives, that interested me, so I did a little experiment def’ing  
methods 10k times with def self.method and class \<\< self; def method  
…

def self.method ran an average of 10% faster.

Based on just that, I’ve all but eliminated class \<\< self from rspec in  
git.

Crazy?

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 28, 2008, 1:40am UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/45 "2008-11-28T01:40:56Z")

</div>

On Thu, Nov 27, 2008 at 6:43 PM, Mark W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On Thu, Nov 27, 2008 at 1:59 PM, Brian T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> wrote:
> 
> > Its funny because I consider def self.foo harmful for a few reasons.
> > 
> > def self.method\_name is often mixed with instance methods. This makes  
> > reading the code confusing because there are two contexts that you  
> > need to deal with.
> 
> Solution: Don’t do that.  
> When maintaining code, I often wish I could travel back in time and  
> tell the writer “Don’t do that”. 🙂  
> course, and class methods are just instance methods of a different kind of  
> object. When you’re using them as such, opening up that object with class \<\<  
> self is a good idea. If you’re not, then you shouldn’t have very many of  
> them and wouldn’t need to refactor them out.  
> I consider classes & modules to be objects and therefore subject to  
> the rules of OOP. That one of the reasons why I love Ruby. The only  
> thing they have in common with global functions is that they are  
> easily accessible from anywhere in the process. Nonetheless, module  
> methods have encapsulated state.  
> Code evolves and things change. We usually don’t set out to overload  
> one object with too much responsibility. It happens with incremental  
> changes.  
> I find that using class \<\< self makes it easy to identify, even when  
> I’m not looking for, the opportunity to extract an object. Usually  
> this has to do with the same state being passed in as an argument.
> 
> > I also like how all of the class \<\< self methods are organized into a  
> > single section. Yes, its difficult to read if it takes more than a  
> > screenful, but I prefer it to having to track down all of the def  
> > self.method\_name methods spread all over the place.
> 
> This is just a question of coding style. You can gather all your def  
> self.foos in one place, and you can have multiple class \<\< self sections  
> (the latter being bad and the former good)  
> Thats true in theory, but in practice, I often see def  
> self.method\_name spread all over the place and class \<\< self in one  
> place. I’m not sure why, but I can guess that it has to do with not  
> thinking about object responsibility.
> 
> > Also, class \<\< self is more powerful. It allows you to use one way to  
> > use your convenience methods (attr\_\*, include) and parser instructions  
> > (public, private, protected). Nothing is worse than having to use both  
> > def self.method\_name and class \<\< self.
> 
> I agree with that. But I also believe in doing the simplest thing that could  
> work, and using two extra lines of code when it’s not necessary fails that  
> test. If it is necessary, that’s a different matter, of course.  
> Yes we all like YAGNI, but its a trade-off. We all have seen YAGNI  
> bite us in the ass too, especially when it means turning off the  
> brain. I don’t think 2 extra filler lines of code make that strong of  
> an argument, when there is more than one class method (and even if  
> there is one class method IMO).  
> I think we also like how consistent conventions and delineation of  
> responsibility make code faster to read and understand.
> 
> When I get back into work on Tuesday, I’ll dig up what Matz says in RPL  
> (unless someone else has a copy?)  
> Sounds good.

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 28, 2008, 7:19pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/46 "2008-11-28T19:19:10Z")

</div>

Performance is one of those nasty things that can go from being a non-  
issue to THE issue (next to correctness) in the blink of an eye. I am  
curious, however. How much total performance difference did this  
change make? I’m betting \<1%.

Nathan

David C. wrote:

> > ///ark
> 
> Crazy?

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 28, 2008, 10:30pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/47 "2008-11-28T22:30:51Z")

</div>

On Nov 28, 2008, at 11:52 AM, David C. wrote:

> > to me.  
> > alternatives, that interested me, so I did a little experiment def’ing  
> > methods 10k times with def self.method and class \<\< self; def method  
> > …

I’d be curious to see those benchmarks.

Also - re: performance: I’ve always wondered why RSpec (and other  
ruby projects, for that matter) aren’t using Kernel#autoload instead  
of Kernel#require. If we used autoload, we wouldn’t have to load  
the code for, say, a matcher which is never used in a project.

Scott

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 29, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/48 "2008-11-29T20:21:44Z")

</div>

On Fri, Nov 28, 2008 at 1:17 PM, Student [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Performance is one of those nasty things that can go from being a non-  
> issue to THE issue (next to correctness) in the blink of an eye. I am  
> curious, however. How much total performance difference did this  
> change make? I’m betting \<1%.  
> Yeah, this seems like premature optimization, if this were the only  
> reason. Rspec does not call class \<\< foo nearly 10000 times.  
> Even if rspec did use class \<\< foo 10000 times (each of which can  
> define multiple methods), it would make 0.x seconds of a difference in  
> the worst case (each class \<\< object block only defines one method)  
> and 0.0x seconds difference in the best case (one object with 10000  
> methods defined in it).

> **[30285’s gists](https://gist.github.com/30285)**
>
> GitHub Gist: star and fork 30285's gists by creating an account on GitHub.

Here are my numbers where method is defined on a single object 10000  
times:  
[http://gist.github.com/raw/30285/a1731a82a0a59ec127b799ddb3b22763e9d06dd4](http://gist.github.com/raw/30285/a1731a82a0a59ec127b799ddb3b22763e9d06dd4)

Heres another interesting benchmark where method is defined on 10000  
objects 1 time:  
[http://gist.github.com/raw/30285/a99305dbeef2aed8453add68a5197cff3418bb69](http://gist.github.com/raw/30285/a99305dbeef2aed8453add68a5197cff3418bb69)

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 29, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/49 "2008-11-29T20:30:33Z")

</div>

On Fri, Nov 28, 2008 at 4:28 PM, Scott T.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > I think you’re right. I’ve been using the ‘def self.foo’ style in various  
> > > impact as well. As RSpec has gotten dinged for being slower than  
> > > alternatives, that interested me, so I did a little experiment def’ing  
> > > methods 10k times with def self.method and class \<\< self; def method  
> > > …
> 
> I’d be curious to see those benchmarks.  
> Here are some benchmarks I did.

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 29, 2008, 8:31pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/50 "2008-11-29T20:31:08Z")

</div>

On Sat, Nov 29, 2008 at 2:28 PM, Brian T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > > > > I’m wondering if this is a discussion about taste.
> > > 
> > > FWIW, the blog that led to this discussion suggested a performance  
> > > impact as well. As RSpec has gotten dinged for being slower than  
> > > alternatives, that interested me, so I did a little experiment def’ing  
> > > methods 10k times with def self.method and class \<\< self; def method  
> > > …
> > 
> > I’d be curious to see those benchmarks.  
> > Here are some benchmarks I did.  
> > Duh, I didn’t paste the link;  
> > [30285’s gists · GitHub](http://gist.github.com/30285)

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 28, 2008, 10:59pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/51 "2008-11-28T22:59:00Z")

</div>

On Fri, Nov 28, 2008 at 10:28 PM, Scott T. \<  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:

> > > >
> 
> Also - re: performance: I’ve always wondered why RSpec (and other ruby  
> projects, for that matter) aren’t using Kernel#autoload instead of  
> Kernel#require. If we used autoload, we wouldn’t have to load the code  
> for, say, a matcher which is never used in a project.

I didn’t even know about that method. I don’t think I’ve ever seen it  
used.  
I’ll definitely try it out.

Cheers,  
Aslak

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 30, 2008, 10:33pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/52 "2008-11-30T22:33:04Z")

</div>

On 28 Nov 2008, at 16:52, David C. wrote:

> > to me.  
> > alternatives, that interested me, so I did a little experiment def’ing  
> > methods 10k times with def self.method and class \<\< self; def method  
> > …
> 
> def self.method ran an average of 10% faster.
> 
> Based on just that, I’ve all but eliminated class \<\< self from rspec  
> in git.
> 
> Crazy?

I think so.

I think Brian has argued eloquently that class \<\< self leaves more  
readable and maintainable code behind. I don’t know the RSpec code  
very well, but I’d be surprised if the number of class methods used  
would be significant enough that speeding them up will cause a  
noticeable increase in the performance of RSpec overall, and it might  
make the project harder to hack on, which would be a shame.

We have just under 4000 examples in the songkick code, taking about 7  
minutes to run. If I get a chance I’ll try out both forks and see if I  
can get you some stats.

Matt W.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 29, 2008, 8:56pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/53 "2008-11-29T20:56:21Z")

</div>

On Nov 29, 2008, at 2:19 PM, Brian T. wrote:

> Even if rspec did use class \<\< foo 10000 times (each of which can  
> define multiple methods), it would make 0.x seconds of a difference in  
> the worst case (each class \<\< object block only defines one method)  
> and 0.0x seconds difference in the best case (one object with 10000  
> methods defined in it).

Most certainly. Although there are certainly other performance  
optimizations which would be easy to do, and it would be hard to  
calculate how much time they actually cost. For instance, using  
“return” actually performs a C longjmp (and the ruby interpreter does  
nothing to remove return from the last statement in a method), so  
it’s more efficient to avoid it - but how much could it really shave  
off a user’s test suite time?

In this respect, RSpec can be seen more as library then an end-user  
program, and it’s hard to anticipate _exactly_ how the library is  
going to be used. For instance, maybe mocks are barely used, but  
certain matchers are used heavily. With a large enough test suite  
and some good performance analysis these bottlenecks would become  
clear, _BUT_ the slowdown would be dependent on the _nature_ of the  
test suite.

Scott

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 30, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/54 "2008-11-30T22:41:53Z")

</div>

On Sun, Nov 30, 2008 at 4:30 PM, Matt W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I think Brian has argued eloquently that class \<\< self leaves more readable  
> and maintainable code behind.

I don’t think so. Nothing that has been said here has changed my  
feeling that using class \<\< self for class methods is an overly-clever  
hack that makes it impossible to tell whether you’re looking at a  
class or instance method in any class more than a page long. There’s  
a reason Matz recommends against it, and a reason we recommend against  
it in our codebase where I work. This isn’t just esthetics - I’ve  
seen my own code comprehension speed noticeably diminished by files  
where I had to keep scrolling up and down to keep track of what kind  
of method I was looking at. If you keep all your classes to under a  
page in length, good for you; but most Ruby programmers don’t have  
that discipline in my experience. I don’t think it’s a practice worth  
promulgating.

–  
Avdi

Home: [http://avdi.org](http://avdi.org)  
Developer Blog: [avdi.codes – Avdi Grimm, Code Cleric](http://avdi.org/devblog/)  
Twitter: [http://twitter.com/avdi](http://twitter.com/avdi)  
Journal: [http://avdi.livejournal.com](http://avdi.livejournal.com)

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [November 30, 2008, 10:46pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/55 "2008-11-30T22:46:41Z")

</div>

On Sun, Nov 30, 2008 at 4:39 PM, Avdi G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I don’t think it’s a practice worth promulgating.

…not to mention that most noob Ruby programmers learned to use def  
self.foo (or def ClassName.foo, if they are reading the 1st edition  
pickaxe online), and coming across that class \<\< self block is  
confusing and gives them the (false) idea they have to understand  
about singleton classes just to comprehend what’s going on in the  
code. Keep it simple.

–  
Avdi

Home: [http://avdi.org](http://avdi.org)  
Developer Blog: [avdi.codes – Avdi Grimm, Code Cleric](http://avdi.org/devblog/)  
Twitter: [http://twitter.com/avdi](http://twitter.com/avdi)  
Journal: [http://avdi.livejournal.com](http://avdi.livejournal.com)

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [December 1, 2008, 4:14am UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/56 "2008-12-01T04:14:35Z")

</div>

On Wed, Nov 26, 2008 at 11:51 AM, Mark W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> And class variables are problematic in Rails in development mode because of  
> class reloading.

Yes. They are.

[http://www.flickr.com/photos/peeja/3056849146/](http://www.flickr.com/photos/peeja/3056849146/)

Peter

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [December 2, 2008, 11:33pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/57 "2008-12-02T23:33:22Z")

</div>

Here’s what The Ruby P.ming Language says about this:

“In general, it is clearer to define class methods as individual  
singleton  
methods without explicitly opening the eigenclass” (p. 258)

This is far from a blanket condemnation, and, as with the rest of the  
book,  
it’s not obvious whether it’s Matz or (non-Rubyist) Flanagan who’s  
talking.

I don’t mean to “open” the discussion again. 🙂

///ark

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [December 4, 2008, 7:04am UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/58 "2008-12-04T07:04:31Z")

</div>

> ‘look at me, ma, I’m opening the eigenclass!’

“Honey, if you’re going to open your eigenclass, do it in your room.”

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [December 3, 2008, 12:25pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/59 "2008-12-03T12:25:12Z")

</div>

On 2 Dec 2008, at 22:31, Mark W. wrote:

> Here’s what The Ruby P.ming Language says about this:
> 
> “In general, it is clearer to define class methods as individual  
> singleton methods without explicitly opening the eigenclass” (p. 258)
> 
> This is far from a blanket condemnation, and, as with the rest of  
> the book, it’s not obvious whether it’s Matz or (non-Rubyist)  
> Flanagan who’s talking.
> 
> I don’t mean to “open” the discussion again. 🙂

Thanks for following up Mark.

I suggest that if there’s any life left in this thread, it staggers  
over here for a few more rounds:

> **[In Defence of class – Tea-Driven Development](http://blog.mattwynne.net/2008/12/01/in-defence-of-class/)**

Matt W.

> **[Tea-Driven Development – Matt Wynne taking it one tea at a time](http://blog.mattwynne.net)**

> **[Find the Best Concerts Near You, Tour Dates & Tickets Worldwide | Songkick](https://www.songkick.com)**
>
> Find live music near you, track your favorite artists, get instant concert alerts and buy tickets for all the best upcoming concerts.

---

<div class="post-metadata">

**Author:** ![mwalsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Post date:** [December 4, 2008, 8:20pm UTC](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110/60 "2008-12-04T20:20:55Z")

</div>

On Thu, Dec 4, 2008 at 1:04 AM, Pat M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > ‘look at me, ma, I’m opening the eigenclass!’
> 
> “Honey, if you’re going to open your eigenclass, do it in your room.”

And if you keep doing it, you’ll go blind!

–  
Rick DeNatale

Blog: [http://talklikeaduck.denhaven2.com/](http://talklikeaduck.denhaven2.com/)  
Twitter: [http://twitter.com/RubyRedRick](http://twitter.com/RubyRedRick)

[Previous page](https://www.ruby-forum.com/t/class-self-considered-harmful-really/154110.md?page=2)
