GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP 5.3 will have GOTO statements?? (https://gfy.com/showthread.php?t=889944)

StuartD 02-24-2009 06:17 PM

PHP 5.3 will have GOTO statements??
 
Talk about going back to "basic"s!! :1orglaugh

http://www.ibm.com/developerworks/op...=grsitebt w01

dial 02-24-2009 06:22 PM

20 goto 10

fris 02-24-2009 06:23 PM

c64 days here we come

2012 02-24-2009 06:28 PM

wow, i'm glad they're focusing on the really important stuff ... i'd rather have goto then something useful like constructor overloading ... pfft quack asssssssssss

camgirlshide 02-24-2009 06:29 PM

sometimes a properly placed goto statement is the most efficient way to code.

$5 submissions 02-24-2009 06:31 PM

Hahahahaha My 8th Grade computer class teach Mr. Navrides would be laughing right now.

Angry Jew Cat - Banned for Life 02-24-2009 06:33 PM

fuck do i miss a good goto line

V_RocKs 02-24-2009 06:37 PM

About fucking time!

Sosa 02-24-2009 06:48 PM

I remember having to do that with some snaked deal trying to see how long you could make it go without hitting it's tail type things. Too bad that was about as far as that 8th grade class went back then.

HomerSimpson 02-24-2009 07:41 PM

I remember gotos from c64, but who the fuck would need such thing in 20 years later...

Young 02-24-2009 07:43 PM

Reminds me of QBasic...my favorite basic editor.

WiredGuy 02-24-2009 07:44 PM

What until if/then comes out. It'll revolutionize coding.
WG

brandonstills 02-24-2009 08:39 PM

what, no GOSUB?

doridori 02-24-2009 08:53 PM

look at all these posers.

Varius 02-24-2009 09:55 PM

Coincidentally I wrote a quick script earlier today where I could have saved a few lines using GOTO - nothing ground-breaking but useful here and there for sure :winkwink:

Iron Fist 02-24-2009 10:18 PM

10 goto 40
20 print "and"
30 goto 60
40 print "To infinity"
50 goto 20
60 print "beyond."
70 goto 10

:thumbsup

ExLust 02-24-2009 10:58 PM

Cool script.

okok 02-24-2009 11:56 PM

Calm down, goto haters.

Anytime you use a switch statement, you're following a goto pattern without actually using the word goto.

Remember that a knife is dangerous in an idiot's hands but indispensable in a master chef's.

Miguel T 02-25-2009 12:00 AM

Pretty cool news!

StuartD 02-25-2009 05:54 AM

Quote:

Originally Posted by okok (Post 15545841)
Calm down, goto haters.

Anytime you use a switch statement, you're following a goto pattern without actually using the word goto.

I never said I hate it, I just think they kinda missed the boat by 20 years.
If you can perform goto statements in basic, this should have been an option in PHP in version 1.

This would be like blue ray announcing that the next wave of players will play beta max.

Quote:

Originally Posted by okok (Post 15545841)
Remember that a knife is dangerous in an idiot's hands but indispensable in a Master Chief's.

I fixed this statement to reflect current times as well :upsidedow

HorseShit 02-25-2009 06:21 AM

Quote:

Originally Posted by okok (Post 15545841)
Calm down, goto haters.

Anytime you use a switch statement, you're following a goto pattern without actually using the word goto.

Remember that a knife is dangerous in an idiot's hands but indispensable in a master chef's.

:thumbsup:thumbsup

seeandsee 02-25-2009 06:22 AM

i like GOTO!

ianlester 02-25-2009 09:32 AM

rofl this will actually be a useful feature for once.

Varius 02-25-2009 09:37 AM

Quote:

Originally Posted by StuartD (Post 15546542)
This would be like blue ray announcing that the next wave of players will play beta max.

That would actually be a feature all those people hanging on to their old beta max tapes who currently own a Blu Ray player would probably enjoy though :upsidedow

leek 02-25-2009 09:39 AM

Time for me to switch to Python for good.

Tom_PM 02-25-2009 09:44 AM

if (lol && wtf) then
rofl else goto whatever

NOP

Cyandin 02-25-2009 09:52 AM

total QBASIC style.

I wrote my first and only piece of malware in QBASIC when i was 13. It ran a dummy program, then in the background added a "deltree c:\*.* -y" to autoexec.bat, and another line which i cannot recall, to make the text color in DOS black on black. LOL

The other thing i wrote took advantage of our first schoolwide ethernet network. Back then, the school used all 3com switches, and had no subenetting - totally flat network. In addition, there were no access permissions either. So I just wrote an app to write x iterations of x filename with x content in the file x number of times to every system on x subnet. I lol'd - the administrators didn't. All in gangsta QBASIC.

I'm not even going to get into Novell...haha. Man, those were the days.


All times are GMT -7. The time now is 04:17 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123