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


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

Re: What is your favorite WC++IETJ?

From Sebastian <news@seyweiler.dyndns.org>
Newsgroups comp.lang.java.programmer
Subject Re: What is your favorite WC++IETJ?
Date 2015-04-30 14:52 +0200
Organization albasani.net
Message-ID <mht8ic$20f$1@news.albasani.net> (permalink)
References <WCIETJ-20150430130949@ram.dialup.fu-berlin.de>

Show all headers | View raw


Am 30.04.2015 13:44, schrieb Stefan Ram:
>    An WC++IETJ is something »where C++ is easier than Java«.
>
[snip]
> auto const result = new java.util.HashSet< java.lang.Character >();
>
>    Java is so difficult, beginners just can't understand
>    why they have to write everything twice:
>
> final java.util.Set< java.lang.Character >result
> = new java.util.HashSet< java.lang.Character >();
[snip]

Since Java 7, that would be Set<Character> result = new HashSet<>();
and there's really no repetition.

 >
 >    What are your favorite WC++IETJs?

Command line input is more cumbersome with Java, for example it is not 
possible to read an int directly from stdin, you need a Reader (or 
Scanner) and need to convert from String to int yourself. However, 
command line interaction is atypical for most Java applications.

-- Sebastian

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


Thread

Re: What is your favorite WC++IETJ? Sebastian <news@seyweiler.dyndns.org> - 2015-04-30 14:52 +0200
  Re: What is your favorite WC++IETJ? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-04-30 10:03 -0400
  Re: What is your favorite WC++IETJ? Jerry Stuckle <jstucklex@attglobal.net> - 2015-04-30 12:18 -0400
  Re: What is your favorite WC++IETJ? Robbie Brown <rob@example.com> - 2015-04-30 20:37 +0100

csiph-web