| [ Main Page ][ First New ] |
|
|
|
Posted by Stealth
on Friday June 26, 2009 @ 05:00am >> [ reply ][ rating +0 ] I'm glad they took the time to add the goto function to PHP 5.3 http://us.php.net/goto I have threatened to injure any developer I see using that. hahaha.. time to recode THC to use goto.. what a weird idea. I wonder if there was that many requests for the function to be added. "What has two thumbs and doesn't give a crap?" - Dr Bob Kelso, thats who |
|
Posted by voltaic
on Friday June 26, 2009 @ 08:58am >> [ reply ][ rating +0 ] what a weird idea. I wonder if there was that many requests for the function to be added. Most of the goto hate has to do with sloppy coding. For years, "they" were trying to get developers to use proper object structures, function calls, etc. and basically trying to break people of the old linear coding mindset, which was 100% a good thing. But at the end of the day, with many complex things going on, sometimes it would be nice to skip a few lines and go right into the next bit without building some contrived do-while loop or something. "when are we getting married jeff? Lets have a double wedding!" - ruebella "I'm busy that day." - krux |
|
Posted by Krux
on Saturday June 27, 2009 @ 02:21pm >> [ reply ][ rating +1 ] what a weird idea. I wonder if there was that many requests for the function to be added. Most of the goto hate has to do with sloppy coding. For years, "they" were trying to get developers to use proper object structures, function calls, etc. and basically trying to break people of the old linear coding mindset, which was 100% a good thing. But at the end of the day, with many complex things going on, sometimes it would be nice to skip a few lines and go right into the next bit without building some contrived do-while loop or something. It would be nice if I could just bypass the whole having an account thing and waltz right into the bank vault and start putting stacks of 100s into my pockets. That doesn't make it any more right. "When life gives you lemons, you run into a school with a gun and grenades and start shooting people..." -- rb |
|
Posted by nene
on Saturday June 27, 2009 @ 12:50pm >> [ reply ][ rating +1 ] what a weird idea. I wonder if there was that many requests for the function to be added. Most of the goto hate has to do with sloppy coding. For years, "they" were trying to get developers to use proper object structures, function calls, etc. and basically trying to break people of the old linear coding mindset, which was 100% a good thing. But at the end of the day, with many complex things going on, sometimes it would be nice to skip a few lines and go right into the next bit without building some contrived do-while loop or something. The problem is that the training hasn't worked. We're an OOP shop, but I am forever seeing retarded logic and ridiculous case statements passed off as OOP because the developer wrapped it in a method. Returns nested inside of nested if/else statements. if/elseif/elseif/elseif x infinity. Because people suck and take the easy way instead of the "right" or "more extensible" way. My assessment of goto will stand until I see a useful implementation of it. Barf. *kicks volt* [Edit: My rage may stem from the sheer amount of bad code challenges I've gotten from applicants over the last month. I mean, BAD. Segfaults and so forth.] |
|
Posted by voltaic
on Saturday June 27, 2009 @ 11:05pm >> [ reply ][ rating +0 ] *kicks volt* You should keep your flailants under control if'n you want to keep them! [Edit: My rage may stem from the sheer amount of bad code challenges I've gotten from applicants over the last month. I mean, BAD. Segfaults and so forth.] 95% of people who call themselves coders/programmers suck hind tit. News at 11. "when are we getting married jeff? Lets have a double wedding!" - ruebella "I'm busy that day." - krux |