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

If you want to find all the implicit gotos, just disassemble the compiled code. Your program will be littered with jmp instructions and the conditional versions of jmp. There's no getting away from them.


Yup, I know. I just got a little carried away :)

My main point was similar to something you'd said earlier:

> What we now know for absolute certain is that it's possible to write any kind of code without gotos (including awful code).

I meant to point out the inverse, that it's possible to write good code even with gotos -- but it takes the same amount of care and diligence as writing good code in general. I don't mean to advocate the use of gotos, rather the elimination of the paranoia surrounding them.




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

Search: