24 Jun '13, 8am

Casting: adding behavior to objects without using extend

Casting: adding behavior to objects without using extend Posted by gravis on June 24, 2013 — 0 comments Most software developers tend to write code where objects are given too many responsibilities. Code with bloated objects is more difficult to test, to understand and to maintain in the long run. To keep the code small and focused, different strategies can be used to extract behavior. A new gem, "casting", claims to bring the benefits of both mix-ins and delegation, but without their drawbacks. Read more: https://discuss.gemnasium.com/t/casting-adding-behavior-to-objects-without-using-extend/34

Full article: http://www.rubyflow.com/items/9463-casting-adding-behavio...

Tweets

MIT Media Lab transforms everyday objects with augmented reality

MIT Media Lab transforms everyday objects with ...

treehugger.com 24 Jun '13, 11am

In a world that is already well-versed in the usefulness and potential of smartphones, it makes sense that the next logica...

Aluminium Die Casting Can Also Be Green

Aluminium Die Casting Can Also Be Green

greenbuildingelements.com 25 Jun '13, 9pm

When you think of eco-friendly materials, aluminium isn’t the first thing that comes to mind. In fact, aluminium brings bl...

Adding RGB backlight to arcade buttons

Adding RGB backlight to arcade buttons

hackaday.com 23 Jun '13, 7pm

These arcade buttons started out as illuminated buttons. But they were bulb-based which only allowed for one color. [Jon] ...

Start Creating Your Co-Processing Accelerator U...

xilinx.com 23 Jun '13, 11pm

Advanced algorithms used today in wireless, medical, defense, and consumer applications are more sophisticated than ever b...

Troops nearing retirement can't transfer GI Bil...

stripes.com 25 Jun '13, 4pm

KAISERSLAUTERN, Germany — Beginning Aug. 1, all active-duty military personnel who opt to transfer their Post-9/11 G.I. Bi...