Get the latest tech news

GOTO (2000)


Paul Hsieh's Goto Page

Here's what "Writing Solid Code" (p. xxii) has to say on the subject of the goto statement: ---[excerpt begins]--- That's not to say that you should blindly follow the guidelines in this book. On the other hand if I see a ton of nested if's, while's and so on that use expression side effects and other implied (as opposed to explicit) constructs as conditionals, I will tend to have a hard time with it. Exit and start conditions for loops can be hidden and convoluted just as easy using sanctioned flow control language elements as it can by over-using goto.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of goto

goto

Related news:

News photo

GoTo Preps First-Ever Buyback After Selling E-Commerce to TikTok

News photo

Grab, GoTo Are Said to Revive Talks for Ride-Hailing Mega Merger

News photo

GoTo Hits Profitability Target After Job Cuts Help Curb Costs