You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
In principle, yes. The assembler has jmp. So, it's designed for something, isn't it?
Assembler doesn't have curly braces and ifs, so without jmp and
cannot be avoided
Usually, until you start writing your own compiler, you don't understand why goto is undesirable.
Goto destroys the execution flow, goes out of scope and is especially detrimental in OOP, where there are lots of implicit constructors/destructors. Any compiler developer will be terrified when he suddenly realizes that he has to jump into the unknown right from the middle of the block.
Although C++ allows goto for compatibility, its compiler imposes many restrictions on goto use, leaving only a narrow niche for the simplest jumps in equally simple cases.
Usually, until you start writing your own compiler, you don't understand why goto is undesirable.
Goto destroys execution flow, goes out of scope and is especially detrimental in OOP, where there are lots of implicit constructors/destructors. Any compiler developer will be horrified when he suddenly realizes that he has to jump into the unknown right from the middle of the block.
Although C++ allows goto for compatibility, its compiler imposes many restrictions on goto use, leaving only a narrow niche for the simplest jumps in equally simple cases.
Come on, let's play religious wars here. Well, if there's no goto, the hell with it.
I don't remember a situation where it was so badly needed, to the point of boiling sulphur in my ears. I don't even remember a time when I had a thought like "ehhh, I wish I'd come here...". There was no such thing. That said, I can't say that my algorithms are so basic.
Just the same way we could have left goto but prohibited for for some mystic reasons. And you would have survived.
Come on, we're playing religious wars here. If there's no goto, whatever.
I can't say that my algorithms are that basic.
Come on, let's play religious wars here. Well, if there's no goto, the hell with it.
I don't remember a situation where it was so badly needed, to the point of boiling sulphur in my ears. I don't even remember a time when there was a thought in my head like "eh, I wish I'd come here...". There was no such thing. That said, I can't say that my algorithms are so basic.
In the same way you could leave goto but prohibit for for some mysterious reasons. And you would have survived.
No, it's not fair. I never use for, but it's harmless.