TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Joke Is On Us: How Ruby 1.9 Supports the Goto Statement

13 pointsby nonrecursiveover 13 years ago

2 comments

comiceover 13 years ago
"The goto statement is one of the most infamous and troublesome features of old, archaic languages like Fortran."<p>"It allowed programmers to quickly create spaghetti code that was confusing and impossible to understand"<p>C still supports goto, and it does have its place. It can actually make code more readable.<p>But Linus Torvalds, Robert Love, Rik van Riel and many others make the point much better than I ever can. Argue with them if you like:<p><a href="http://kerneltrap.org/node/553/2131" rel="nofollow">http://kerneltrap.org/node/553/2131</a>
NameNickHNover 13 years ago
All those different languages might support the goto statement, but what programmer in his right mind would dare to use it? <a href="http://xkcd.com/292/" rel="nofollow">http://xkcd.com/292/</a>
评论 #3649595 未加载