Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 1
    $\begingroup$ Hey LordFarquaad! Welcome to Computer Science Educators! $\endgroup$ Commented Sep 27, 2017 at 20:59
  • 1
    $\begingroup$ Don't forget that COBOL is still the most prolific language out there, and all of the flow control in COBOL is through equivalents to GOTO $\endgroup$ Commented Sep 28, 2017 at 1:57
  • 1
    $\begingroup$ Although this makes sense as an answer, I'm not sure it will help the subset of teachers most at risk of incorrectly introducing GOTO to their cohort. $\endgroup$ Commented Sep 28, 2017 at 7:23
  • $\begingroup$ Well, @pojo-guy, you really should update to COBOL 85 or more recent. Cobol 74 really was a pain in the ***, but since 1985 it has all you need for structured programming : loops, if then else, and even a very interesting EVALUATE verb, much more powerful than the rudimentary switch of C/C++/Java etc :-) $\endgroup$ Commented Sep 28, 2017 at 14:07
  • $\begingroup$ I agree that Evaluate is much more powerful than "switch", but COBOL is crippled in other ways. Problems that take three lines of java code can take hundreds of lines of COBOL code - for example finding the intersection set of two sets. Each language expresses different thoughts easily, so they are all valuable. $\endgroup$ Commented Sep 28, 2017 at 17:33