enso wrote:
COBOL is peculiar in its English-like syntax designed for managers to be able to understand what the programmers are doing, and I am sure it's a perk even today.
It is never a perk when the cost of making code easier for managers to understand is to make it
harder for the developers to understand.
And does it even make it easier to understand? There's a reason even grade-schoolers now use funny symbols and whatnot instead of "plain English" (or, at the time, "plain Arabic") to express algebraic equations. See if you can figure out what equation this is:
Quote:
If some one says: "You divide ten into two parts: multiply the one by itself; it will be equal to the other taken eighty-one times." Computation: You say, ten less a thing, multiplied by itself, is a hundred plus a square less twenty things, and this is equal to eighty-one things. Separate the twenty things from a hundred and a square, and add them to eighty-one. It will then be a hundred plus a square, which is equal to a hundred and one roots. Halve the roots; the moiety is fifty and a half. Multiply this by itself, it is two thousand five hundred and fifty and a quarter. Subtract from this one hundred; the remainder is two thousand four hundred and fifty and a quarter. Extract the root from this; it is forty-nine and a half. Subtract this from the moiety of the roots, which is fifty and a half. There remains one, and this is one of the two parts.
(That is a real actual equation from a
real actual book; as David Barry says, "I am not making this up.")
Show that to someone next time they ask to use a programming language that uses "plain English"!