Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (532)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  "goto" could be added to JDK8  (Read 2583 times)
0 Members and 1 Guest are viewing this topic.
Online kappa
« League of Dukes »

JGO Kernel


Medals: 74
Projects: 15


★★★★★


« Posted 2012-04-02 22:05:30 »

Early plans set in motion to possibily add "goto" to Java in JDK8

https://blogs.oracle.com/darcy/entry/upcoming_jep
Offline Z-Man
« Reply #1 - Posted 2012-04-02 22:25:35 »

I hope this is a late April Fools joke... Although, that might be my CS teacher talking x) she ALWAYS drummed into us that goto statements and "spaghetti" code was bad. That probably makes me biased Tongue since I've never been able to (or wanted to) use goto statements I can't really think of a need for them.
Offline l3dx

Junior Member


Medals: 1


Say what?


« Reply #2 - Posted 2012-04-02 22:31:07 »

Well, the article is dated april 1st  Roll Eyes

Also: http://xkcd.com/292/
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 742
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #3 - Posted 2012-04-02 22:49:23 »

Quote
Success Metrics

The goto statement will allow inefficient and verbose recursive algorithms and explicit loops to be replaced with more compact code.

The effort will be a success if at least twenty five percent of the JDK's explicit loops are replaced with goto's. Coordination with IDE vendors is expected to help facilitate this goal.

Lots of jokes in the RFE Grin

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Damocles
« Reply #4 - Posted 2012-04-02 22:51:21 »

Oh Sad I would like a goto actually

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 742
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #5 - Posted 2012-04-02 22:58:26 »

Oh Sad I would like a goto actually
I would like self modifying code

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline ra4king

JGO Kernel


Medals: 336
Projects: 2
Exp: 5 years


I'm the King!


« Reply #6 - Posted 2012-04-02 23:08:49 »

Quote
While in the past this has been derided as leading to "spaghetti code," spaghetti is a tasty and nutritious meal for programmers, unlike quiche.

ROFLMAO! Grin

Offline ReBirth
« Reply #7 - Posted 2012-04-03 01:42:13 »

In Asia, we call it NOODLE Grin

Offline theagentd
« Reply #8 - Posted 2012-04-03 09:02:56 »

I would like code that writes itself based on what I'm thinking.

Myomyomyo.
Offline pjt33
« Reply #9 - Posted 2012-04-03 09:08:22 »

Oh Sad I would like a goto actually
You've got them. Labelled breaks / continues.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Stranger

Senior Member


Medals: 6



« Reply #10 - Posted 2012-04-03 10:45:46 »

You didn't mention returns & exceptions.

Anton
Offline DruLeeParsec

Junior Member


Medals: 2
Projects: 1



« Reply #11 - Posted 2012-04-21 19:04:59 »

I love the comment about GOTO in the book "Code Complete"

"Nine times out of ten when you want to use a GOTO, Don't!  In the remaining 10% nine times out of ten you don't really need it.  In the remaining 1% of cases think VERY carefully before you use a GOTO."

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (16 views)
2014-07-24 01:59:36

Riven (16 views)
2014-07-23 21:16:32

Riven (14 views)
2014-07-23 21:07:15

Riven (16 views)
2014-07-23 20:56:16

ctomni231 (43 views)
2014-07-18 06:55:21

Zero Volt (40 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (36 views)
2014-07-16 23:30:00

Cero (51 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!