Hacker News new | ask | show | jobs
by maratd 5019 days ago
> I've been programming for around 20 years now

Me too.

> I've very, very rarely seen goto statements used

I saw them used all the time in Basic =)

> You don't need goto to create code that jumps around

Nope. All you need is a loop, with lots of continue/break statements mixed in. I have seen this quite a bit and I start twitching when I see it. That's the modern equivalent of the goto.

1 comments

Even worse when the code uses labelled breaks and continues.