Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wongarsu
on Dec 28, 2023
|
parent
|
context
|
favorite
| on:
4B If Statements
Dijaksta's “goto considered harmful“ is often interpreted as a much broader opinion than it was, but this is a perfect example of what he was against
User23
on Dec 29, 2023
[–]
Yeah Dijkstra's main objection to goto is that it's really hard to formally define its semantics and even if you do, the formalism is so complex it's hard to reason about.
Break and continue on the other hand are considerably easier to formalize.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: