11 Apr '13, 10am

@stack72 in your case, probably pass the JSON … maybe will help

When using inheritance like this you are wasting resources (a class in this case) and so far I see only one advantage: changing the constructor is a bit easier because the old implementation is available via super without having to resort to alias or reimplementing member initialization. If you want to have multiple subclasses of a Struct class then inheritance is OK of course. But in that case I would rather make the super class a named class by assigning it to a constant and use that later when subclassing.

Full article: http://blog.rubybestpractices.com/posts/rklemme/017-Struc...

Tweets

SPONSOR MESSAGE: 2013 Autoresponders Study – Be...

searchengineland.com 11 Apr '13, 7pm

We welcome constructive comments and allow any that meet our common sense criteria. This means being respectful and polite...

22 firms honoured for improving HR practices in...

spring.gov.sg 09 Apr '13, 2am

FROM sharing a fifth of profits with top performers to having management try out frontline jobs, the human resource practi...

Tiger will win, Phil will thrill, and more to watch at most anticipated Masters in years:

Tiger will win, Phil will thrill, and more to w...

golf.com 11 Apr '13, 1pm

AUGUSTA, Ga. -- It's Masters week so you know what that means. Prepare for a steady helping of "This is the Most Important...

Mark Tercek: The business case for nature

Mark Tercek: The business case for nature

marcgunther.com 07 Apr '13, 5pm

The value of nature is astonishing , when you stop and think about it. Marshes protect coastlands. Urban trees clean the a...

How Do You Know If Your Data is Accurate? A case study using search volume, CTR, and rankings

How Do You Know If Your Data is Accurate? A cas...

seomoz.org 09 Apr '13, 10am

Big Data and analytics has been called the "next big thing," and it can certainly make a strong case with the explosion of...

Will Buffett Rescue Suntech?: Filed under: Energy News

Will Buffett Rescue Suntech?: Filed under: Ener...

altenergystocks.com 11 Apr '13, 1pm

Solar Lifeline image via Bigstock Intriguing rumors that billionaire investor Warren Buffett might be eying bankrupt forme...

Climate change will help weird killer bugs take over the world

Climate change will help weird killer bugs take...

grist.org 09 Apr '13, 4pm

Scale insects can kill trees but are supposed to be harmless to humans. Yes, they’re parasites, but they don’t suck our bl...

Top 10 best hacking scenes in movies

hackaday.com 11 Apr '13, 8pm

Geeking out and complaining about inaccuracies is fun. But it is like junk food. Too much is bad for your health. We’ve do...

No April Fools' Joke: SCOTUS Takes Appeal in Co...

The appeals court. The general contractor filed an appeal to the United States Court of Appeals for the Fifth Circuit in t...

Tiger will win, Phil will thrill, and more to w...

golf.com 09 Apr '13, 4pm

AUGUSTA, Ga. -- It's Masters week so you know what that means. Prepare for a steady helping of "This is the Most Important...

What to Eat to Help You Sleep

What to Eat to Help You Sleep

care2.com 07 Apr '13, 12am

The Centers for Disease Control and Prevention (CDC) now considers our lack of sleep a “public health epidemic.” Currentl...

What's the Best Ad Position in PPC? (Hint: Not Always #1)

What's the Best Ad Position in PPC? (Hint: Not ...

wordstream.com 10 Apr '13, 2pm

#1 Is the Best Ad Position! … Or Is It? A common assumption about paid search is that position #1 is the ultimate goal. Ad...

Citigroup: Renewables will triumph and natural gas will help

Citigroup: Renewables will triumph and natural ...

grist.org 01 Apr '13, 7pm

Banking giant Citigroup recently issued a report [PDF] that ought to thrill fans of renewable energy. However, tucked insi...

If I add an organic mattress pad to my daughter...

greenhomeguide.com 08 Apr '13, 3pm

I totally understand that you do not want to waste the investment you have already made in a mattress, and I think I might...

Help! I think my charger has died: Got a Tonaro...

pedelecs.co.uk 06 Apr '13, 5pm

Got a Tonaro Bighit which has never given me any problems and the charger has always done its job fine. However, I went to...