Hacker News new | past | comments | ask | show | jobs | submit login

Control flow is doable with gotos. What benefit therefore is structured programming?

Dynamic dispatch is implemented under the hood with lookup tables and function pointers. Sometimes, it is nice for a language to wrap a fiddly thing in a more abstract structure to make it easier to read, understand, and write.




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

Search: