On Tue, Oct 5, 2010 at 9:54 PM, Mohit Sindhwani <mo_mail / onghu.com> wrote:

> I tend to write Ruby code that avoids the advanced constructs of Ruby,
> making translation to C++ easier.
>

This is pretty much a staple of static type inferencers for dynamic
languages that output C++... many language features simply cannot be
supported using this approach, most notably eval, and eval is pretty much
the most powerful tool for Ruby metaprogramming. Source translation to C++
would preclude many of the things which make Ruby fun and interesting.

-- 
Tony Arcieri
Medioh! A Kudelski Brand