Difference between revisions of "User talk:Flyfightflea"

11 bytes added ,  16:20, 6 October 2006
no edit summary
imported>Flyfightflea
imported>Flyfightflea
Line 7: Line 7:
GoTo's are confusing and makes scripts exceptionally difficult to use. While and For loops combined with well structured if/elseif/else branches have the same functionality (in nearly every situation) as GoTo, and are far easier to follow. Using GoTo makes things more confusing, and makes it much more difficult to maintain code, as if you leave it for a length of time, it becomes very difficult to follow the logic when the script is jumping around all over the place. In the relatively short scripts of Oblivion, perhaps it's not so big a deal, but in programming in general, when you have tens and hundreds of thousands of lines of code, it makes things damn near impossible to work with. Even if you have a script of several hundred lines that uses GoTo heavily and gratuitously, finding a bug would be several orders of magnitude more painful than it already is.
GoTo's are confusing and makes scripts exceptionally difficult to use. While and For loops combined with well structured if/elseif/else branches have the same functionality (in nearly every situation) as GoTo, and are far easier to follow. Using GoTo makes things more confusing, and makes it much more difficult to maintain code, as if you leave it for a length of time, it becomes very difficult to follow the logic when the script is jumping around all over the place. In the relatively short scripts of Oblivion, perhaps it's not so big a deal, but in programming in general, when you have tens and hundreds of thousands of lines of code, it makes things damn near impossible to work with. Even if you have a script of several hundred lines that uses GoTo heavily and gratuitously, finding a bug would be several orders of magnitude more painful than it already is.


I understand. Thanks for clarifying. Deleted comment on your page. --[[User:Flyfightflea|Flyfightflea]] 03:07, 5 October 2006 (EDT)
    I understand. Thanks for clarifying. Deleted comment on your page.  
    --[[User:Flyfightflea|Flyfightflea]] 03:07, 5 October 2006 (EDT)
Anonymous user