On Tue, 2011-11-08 at 08:03 +0000, Ricky Clarkson wrote:
> That's what I did about 5 years ago. Perhaps something has changed since then 
> but I believe int x = "hello" still compiles in Groovy.

Still compiles, but fails at run time.  This is to be expected since
Groovy is a run time typed language not a compile time typed language.
It is a dynamic language after all.  Given there is Java to supply the
statically typed language to run on the JVM, in which the above
statement is illegal and caught at compile time, Groovy should not and
does not try to be a Java wannabee.  Instead it provides a dynamic
symbiote to Java.  This is as it should be.

> Also, Scala's .NET compatibility predates Fantom so in order to copy it 
> Martin must be even smarter than I thought.

I did phrase my point as a question as I hadn't checked facts.  If Scala
execution on .NET predates Fantom's then clearly Fantom as Scala
wannabee is a potential.

[ . . . ]

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to