Music Banter - View Single Post - Unpopular Music Opinions
View Single Post
Old 02-21-2023, 02:48 PM   #18490 (permalink)
SGR
No Ice In My Bourbon
 
SGR's Avatar
 
Join Date: Mar 2010
Location: /dev/null
Posts: 4,326
Default

Quote:
Originally Posted by Trollheart View Post
Like I said, not a clue. But why are goto's frowned upon?
Essentially, as programs progress in their lifetimes (and I've worked on code older than I am), the more go-to's you have (which are essentially unstructured jumps from one part of the program to another), the more difficult the program becomes to understand, the more difficult it becomes to maintain, and the more time and money needs to be spent to work with and modify them.

You might think you've got it figured out in a program with 15 different Go-To's, but then after promoting to production, you get your ass completely burned.
SGR is offline   Reply With Quote