Content deleted Content added
m →Sentence about the Goto statement: signed post |
Prosfilaes (talk | contribs) |
||
Line 517:
* The sentence reads to me like someone's attempt to portray Ada as an old-fashioned language (considering that it is not mentioned in articles about other so-called modern languages), which is why I do not like it in the current form.
I would therefore like to argue that the sentence can be removed. Please share your opinion :) [[User:Sfx42|Sfx42]] ([[User talk:Sfx42|talk]]) 23:40, 29 April 2012 (UTC)
: I've used the goto statement in Ada. Naturally the next maintainer removed it and broke the function.
: What I said in the edit summary was a little overboard; I said that Ada didn't need a goto statement because it had a while loop and an if-then. In fact, all program control can be implement with loop-end loop and if-thens (no functions necessary). At the same time, if you have code you're converting from a language with gotos to Ada, it's hard for a converter to avoid goto; many Java decompilers don't, despite producing illegal code.
: I don't see any reason why all control structures in Ada shouldn't be mentioned; I can see a reason to drop loop ... end loop, since that's just a while loop, but goto is semantically distinct from the other control structures.--[[User:Prosfilaes|Prosfilaes]] ([[User talk:Prosfilaes|talk]]) 08:35, 30 April 2012 (UTC)
|