Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

People had this argument in the late 1970s and your viewpoint won, although nobody seems to have noticed. Of course you need break or return or something like that to write a linear search that doesn't have a confusing condition variable.


That's plenty structured, though. It's just getting a hold of your continuations. The sin of GOTO is doing it with names and not scopes.


It's a dirty little secret. Officially, of course, we are all using structured programming. But in private, everybody does break and continue!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: