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


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

Re: Java 7 feature Q.

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Java 7 feature Q.
Date 2011-08-13 14:00 -0700
Organization Canadian Mind Products
Message-ID <m7pd47dbquo11gb43i4f5ru3rel7mqj883@4ax.com> (permalink)
References <j24m14$ju$1@speranza.aioe.org>

Show all headers | View raw


On Fri, 12 Aug 2011 22:03:19 -0400, 00101010
<zerozeroonezeroonezeroonezero@h2g2.cazoola> wrote, quoted or
indirectly quoted someone who said :

>Did they, like promised, add the waka waka shortcut for the instance 
>creation operator?

I googled unsuccessfully. Waka Waka has meanings in the context of
African pop music and Pac Man games, but nothing I could find on Java.

Perhaps you mean something like my suggested Bali syntactic sugar:

http://mindprod.com/jgloss/bali.html

BigDate d = new BigDate( 1997, 5 , 6 );

could be abbreviated:

BigDate (1997, 5, 6) d;

This does not require any new keyword.  Language designers have jumped
through hoops to avoid new keywords, e.g. in generics.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Most of computer code is for telling the computer
what do if some very particular thing goes wrong. 

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


Thread

Java 7 feature Q. 00101010 <zerozeroonezeroonezeroonezero@h2g2.cazoola> - 2011-08-12 22:03 -0400
  Re: Java 7 feature Q. Lew <lewbloch@gmail.com> - 2011-08-12 21:05 -0700
    Re: Java 7 feature Q. Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-13 07:17 +0000
      Re: Java 7 feature Q. Lew <lewbloch@gmail.com> - 2011-08-13 00:45 -0700
        Re: Java 7 feature Q. Lew <lewbloch@gmail.com> - 2011-08-13 22:05 -0700
      Re: Java 7 feature Q. Arne Vajhøj <arne@vajhoej.dk> - 2011-08-13 09:39 -0400
        Re: Java 7 feature Q. Lew <lewbloch@gmail.com> - 2011-08-13 09:25 -0700
        Re: Java 7 feature Q. Lew <lewbloch@gmail.com> - 2011-08-13 09:40 -0700
    Re: Java 7 feature Q. Dangling Pointer <dpointer2@gmail.com> - 2011-08-16 09:17 -0700
      Re: Java 7 feature Q. Jeff Higgins <jeff@invalid.invalid> - 2011-08-16 13:35 -0400
      Re: Java 7 feature Q. Lew <lewbloch@gmail.com> - 2011-08-16 13:13 -0700
      Re: Java 7 feature Q. Tom Anderson <twic@urchin.earth.li> - 2011-08-16 21:39 +0100
        Re: Java 7 feature Q. Robert Klemme <shortcutter@googlemail.com> - 2011-08-16 23:46 +0200
      Re: Java 7 feature Q. Jim Janney <jjanney@shell.xmission.com> - 2011-08-16 15:43 -0600
  Re: Java 7 feature Q. Roedy Green <see_website@mindprod.com.invalid> - 2011-08-13 14:00 -0700
    Re: Java 7 feature Q. Lew <lewbloch@gmail.com> - 2011-08-13 22:13 -0700

csiph-web