On Mon, 30 Jul 2012 11:51:45 +0200, Rakesh <[email protected]>
wrote:
I am saying, that in practice, this check at not happening at compile
time,
based on my personal experience, has not been a show stopper. At all.
Unit testing definitely made this a non-issue for me. That may not be the
only solution.
I seem to have stumbled into a 'religious' issue here and there's not
much
I can say to convince you that static compilation hasn't prevented me
from
being way more productive than before.
Rakesh, this is not only religious but I think that people have many
points here. Kevin just pointed out that unit testing can't be complete.
It would be complete only if one submitted to any piece of code all the
possible combinations of inputs. Of course, this is theory: in practice,
it would suffice to submit all the practical combinations of inputs. This
can be quite large. The fact that you didn't experience problems so far is
not necessarily a strong point: see the inductivist turkey argument by
Russel / Popper. In practice, you might feel strong for a lot of time,
until you get burned. Of course, this is still theory, and in practice I'd
say that personal experience, given that we have a sufficient bunch of
data, is an indicator... for that person.
Let's put this in another way. I think it's a very strong point to say
that without static typing you loose lots of benefits. Now, we can afford
to lose something in change of something more interesting. What's the
benefit you get with Groovy. When I answered in the previous mail
exchange, my point was that with my experience with Groovy I didn't get
much in return: just writing a few less line of code is not enough, and if
it was a very important point to me I'd rather consider alternatives such
as Scala, which allows less lines of code and it's static.
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
[email protected]
http://tidalwave.it - http://fabriziogiudici.it
--
You received this message because you are subscribed to the Google Groups "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.