Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10002

Re: Static type checking: hybrid mode in Groovy

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Static type checking: hybrid mode in Groovy
Date 2011-11-17 07:16 -0800
Organization Canadian Mind Products
Message-ID <im8ac7t9bge5464b2aesgsnqd6qmf553c8@4ax.com> (permalink)
References <61e17074-e229-4303-a549-2389ccf502d3@m10g2000vbc.googlegroups.com>

Show all headers | View raw


On Wed, 16 Nov 2011 00:41:36 -0800 (PST), Robert Klemme
<shortcutter@googlemail.com> wrote, quoted or indirectly quoted
someone who said :

>"One of them is that Java programmers who discover Groovy are often
>amazed about the conciseness of the language as compared to Java, and
>start programming in Groovy like they would in Java, that is to say
>with types and leveraging the syntax of Groovy. The key here is that
>many programmers never use the dynamic features of Groovy, but rather
>use the language as a "better Java syntax"."

The verbosity of Java has always bothered me. Early on I lobbied for
various measures to put it on a diet.  The biggest win was for:each.
The Java creators are only now beginning to relax their resistance to
syntactic sugar to make programs terser, hence easier to type and
proofread.

I think the problem was/is:

1. Sun was far more interested in the JVM than the Java language. In
their view, Javac.exe was just a preprocessor for the JVM byte code.
It was a necessary kludge, but of no interest in itself. The innards
of the JVM is the exciting part. Java the language is pretty dull and
clumsy. The WORA comes from the JVM, not a major revolution in the
language.

2. People who write system code think a long time and produce a small
number of carefully-chosen keystrokes, overwhelmingly comments.
Application programmers crank out reams and reams of twaddle.  Thus
system programmers have little motivation to be interested in
terseness.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
I can't come to bed just yet. Somebody is wrong on the Internet. 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Static type checking: hybrid mode in Groovy Robert Klemme <shortcutter@googlemail.com> - 2011-11-16 00:41 -0800
  Re: Static type checking: hybrid mode in Groovy Roedy Green <see_website@mindprod.com.invalid> - 2011-11-17 07:16 -0800
    Re: Static type checking: hybrid mode in Groovy Lew <lewbloch@gmail.com> - 2011-11-17 09:28 -0800
      Re: Static type checking: hybrid mode in Groovy Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-11-18 08:16 +0000
      Re: Static type checking: hybrid mode in Groovy Roedy Green <see_website@mindprod.com.invalid> - 2011-11-18 02:32 -0800
        Re: Static type checking: hybrid mode in Groovy Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-11-18 07:35 -0400
        Re: Static type checking: hybrid mode in Groovy Lew <lewbloch@gmail.com> - 2011-11-18 07:23 -0800
    Re: Static type checking: hybrid mode in Groovy Gene Wirchenko <genew@ocis.net> - 2011-11-17 10:25 -0800
      Re: Static type checking: hybrid mode in Groovy markspace <-@.> - 2011-11-17 10:32 -0800
        Re: Static type checking: hybrid mode in Groovy Gene Wirchenko <genew@ocis.net> - 2011-11-17 11:02 -0800
  Re: Static type checking: hybrid mode in Groovy Robert Klemme <shortcutter@googlemail.com> - 2011-11-19 11:49 +0100

csiph-web