On Tue, Nov 8, 2011 at 7:41 PM, Ricky Clarkson <[email protected]> wrote:
> One of the problems we face as developers is taking over projects written by 
> people who ignored or disabled such warnings, or didn't even use the IDE that 
> provides the warnings.
>
> Every time you make an error into a warning someone will deal with it later.

Indeed, that is why things like CodeNarc (checkstyle equivalent) and
now Grumpy mode have been created and have enjoyed some
interest/popularity within the Groovy community. Of course, relying on
compilation alone is setting the bar fairly low. You would ideally
like tests, invariants, static and dynamic analysis tools etc. to be
in play - but agree with you that not all environments are ideal. Of
course, I have also seen the bad side of relying just on compilation -
people not understanding what some code does and just keep "hacking"
it until it compiles - then ship it once if compiles!

Cheers, Paul.

> -----Original Message-----
> From: Paul King <[email protected]>
> Sender: [email protected]
> Date: Tue, 8 Nov 2011 20:36:58
> To: <[email protected]>
> Reply-To: [email protected]
> Subject: Re: [The Java Posse] Re: Yet another JVM lang: Extend
>
> Well, 99% of the time people would get feedback (it would turn yellow
> in their IDEs) at type time. You wouldn't wait until compile time to
> get such feedback.
>
> Cheers, Paul.
>
> On Tue, Nov 8, 2011 at 7:13 PM, Ricky Clarkson <[email protected]> 
> wrote:
>> Which mode would compile the majority of Groovy code?
>> -----Original Message-----
>> From: Paul King <[email protected]>
>> Sender: [email protected]
>> Date: Tue, 8 Nov 2011 19:40:05
>> To: <[email protected]>
>> Reply-To: [email protected]
>> Subject: Re: [The Java Posse] Re: Yet another JVM lang: Extend
>>
>> Yes,
>>
>>  int x = "hello"
>>
>> obviously needs to compile but fail at runtime when in dynamic mode
>> (to cater for what would be somewhat dubious style of metaprogramming
>> in this case) and does indeed fail compilation in grumpy/static mode.
>>
>> Cheers, Paul.
>>
>> On Tue, Nov 8, 2011 at 6:03 PM, Ricky Clarkson <[email protected]> 
>> 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.
>>>
>>> Also, Scala's .NET compatibility predates Fantom so in order to copy it 
>>> Martin must be even smarter than I thought.
>>> -----Original Message-----
>>> From: Russel Winder <[email protected]>
>>> Sender: [email protected]
>>> Date: Tue, 08 Nov 2011 08:33:35
>>> To: <[email protected]>
>>> Reply-To: [email protected]
>>> Subject: Re: [The Java Posse] Re: Yet another JVM lang: Extend
>>>
>>> On Mon, 2011-11-07 at 16:52 +0000, Ricky Clarkson wrote:
>>>> That's pretty much what I was trying to say. Groovy is a half-arsed Java 
>>>> imitation (to me), similarly Fantom->Scala, PHP->Perl, Ruby->(Smalltalk, 
>>>> Perl)
>>>
>>> Ricky,
>>>
>>> If you are thinking of Groovy as a half-arsed Java imitation, you really
>>> need to actually look at the two languages and compare them.
>>>
>>> Interestingly isn't it Scala copying Fantom to be a language for the
>>> CLR?
>>>
>>> --
>>> 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
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "The Java Posse" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected].
>>> For more options, visit this group at 
>>> http://groups.google.com/group/javaposse?hl=en.
>>>
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "The Java Posse" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/javaposse?hl=en.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "The Java Posse" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/javaposse?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/javaposse?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/javaposse?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to