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

Break is technically a goto, albeit a nicer, more well behaved version thereof.



'if' is also technically a goto then.


Earlier this year I spent some time implementing a BASIC (actually VBA) interpreter and to support error handling (e.g. ON ERROR GOTO foobar) I ended up translating all of the flow control statements into conditional GOTOs.




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

Search: