Hacker News new | ask | show | jobs
by broodbucket 66 days ago
My professor in a C course said anyone that uses `goto` gets failed. It was quite liberating for me to then end up writing `goto`s for a living
1 comments

Are you so graybeard that structured programming was interesting enough to be part of the focus of a C course? Because I can see in that context requiring the use of appropriate control flow structures. Nowadays, I can't imagine in what context students would be so eager to reach for GOTO that they don't preferentially use other control structures.
This was in...2013? I think the main point was just to stop students from footgunning themselves