Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31628
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Sebastian <news@seyweiler.dyndns.org> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: What is your favorite WC++IETJ? |
| Date | Thu, 30 Apr 2015 14:52:28 +0200 |
| Organization | albasani.net |
| Lines | 26 |
| Message-ID | <mht8ic$20f$1@news.albasani.net> (permalink) |
| References | <WCIETJ-20150430130949@ram.dialup.fu-berlin.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.albasani.net W716YGpLradzd8o6Xo5wUEfX/YFKtxD1ttdCG+YdMEGoLeT2zb/WunTfD3abH/fX9buIrrKS/c2F/6Anm8CeVg== |
| NNTP-Posting-Date | Thu, 30 Apr 2015 12:52:28 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="NKYfqjHf3Ig4218UmhQjxBCL+jP6r08EfGdhEQIP2w4NnfEJWyR8k/da3Q2qtMvbrXDgbpDULkUBf8U+Yecl89UMlyG8kPurT49c1ppWSZXOUjKTRLGnXPCA9zshG14i"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
| In-Reply-To | <WCIETJ-20150430130949@ram.dialup.fu-berlin.de> |
| Cancel-Lock | sha1:+SMduGsLgVZbhXQ+7Z0yfjWUBCg= |
| Xref | csiph.com comp.lang.java.programmer:31628 |
Show key headers only | 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
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