Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Joshua Cranmer Newsgroups: comp.lang.java.programmer Subject: Re: Holy boop: goto for Java Date: Mon, 04 Jun 2012 07:28:08 -0400 Organization: A noiseless patient Spider Lines: 27 Message-ID: References: <6AVyr.1859$8l2.827@newsfe14.iad> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 4 Jun 2012 11:28:14 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="z/hMYk256LCQuKHX2vQOwg"; logging-data="8573"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182YgjIxqLf08JWX0LPksb/qvR3Hdp4QUY=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: <6AVyr.1859$8l2.827@newsfe14.iad> Cancel-Lock: sha1:8NvrWijBBdOp3Va5Xav3W1o4k6c= Xref: csiph.com comp.lang.java.programmer:15037 On 6/3/2012 11:03 PM, Daniel Pitts wrote: > On 6/3/12 7:36 PM, markspace wrote: >> Just looking for an extended answer to an earlier question (strings in a >> case-switch statement), I found this on Joe Darcy's blog: >> >> "Summary >> >> "Provide the benefits of the time-testing goto control structure to Java >> programs. The Java language has a history of adding new control >> structures over time, the assert statement in 1.4, the enhanced for-loop >> in 1.5,and try-with-resources in 7. Having support for goto is >> long-overdue and simple to implement since the JVM already has goto >> instructions." >> >> >> >> Holy booping bat boop Batman! >> > Check the date of that article before getting to excited/disappointed ;-) When I first saw that article, I got as far as posting it in an IRC channel [without context] before I realized it was an joke. Fortunately, I realized the joke before any discussion started up around it :-P . -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth