From: Chad Perrin Date: 2012-01-28T03:43:57+09:00 Subject: Re: A little assistance please :) On Fri, Jan 27, 2012 at 06:31:38PM +0900, Gunther Diemant wrote: > > You're right, that's much better -- apart from the fact I have yet to > > come up with a single good reason for dynamic class names. > > Test cases in a dsl test language like MiniTest/Spec or RSpec > > describe "Foo" do > end > #=> Class FooTest < MiniTest::TestCase Why is that better than storing unnamed classes in a hash with keys for the "names" instead of actually, dynamically assigning names to new hashes? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]