Keywords: How to trick the compiler?

bearophile bearophileHUGS at lycos.com
Tue Jan 28 06:30:35 PST 2014


Ary Borenszweig:

> In Ruby you can do this:
>
> class Foo
>   def end
>     1
>   end
> end
>
> Foo.new.end

Ruby is a different language from D, they define "code safety" in 
quite different ways.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list