Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Talk:COBOL

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Former good articleCOBOL was one of the Engineering and technology good articles, but it has been removed from the list. There are suggestions below for improving the article to meet the good article criteria. Once these issues have been addressed, the article can be renominated. Editors may also seek a reassessment of the decision if they believe there was a mistake.
On this day... Article milestones
DateProcessResult
May 16, 2014Peer reviewNot reviewed
February 2, 2015Peer reviewReviewed
February 10, 2015Good article nomineeListed
June 16, 2024Good article reassessmentDelisted
On this day... A fact from this article was featured on Wikipedia's Main Page in the "On this day..." column on April 8, 2019.
Current status: Delisted good article

PERFORM does not promote modular programming

[edit]

PERFORM is like GOSUB in BASIC, that does not promote modular programming. It promotes to divide de program in sections like additions, deletions and changes, very common in batch processing. That is not modularity. The lack of modular programming is the main problem of COBOL, it has PROCEDURE DIVISION USING to declare subroutines, but its verbose style, even using COPY files (similar to #include in C) is not easy to use. For that reason the statement "which promoted modular programming" may be changed to "which promoted to divide the program in sections" could a be better choice, but that can be confusing because SECTION is a keyword in COBOL which refers to a subdivision of DIVISION. Maybe "which promoted to divide the program in parts" could be better.

"GO TOs were largely replaced by the PERFORM statement and procedures, which promoted modular programming[154] and gave easy access to powerful looping facilities. However, PERFORM could only be used with procedures so loop bodies were not located where they were used, making programs harder to understand.[155]"

— Preceding unsigned comment added by 201.137.173.23 (talk) 22:10, 2 July 2021 (UTC)[reply]

66 RENAMES were not forbidden as said citing McCracken book

[edit]

The article say:

"A level-number of 66 is used to declare a re-grouping of previously defined items, irrespective of how those items are structured. This data level, also referred to by the associated RENAMES clause, is rarely used[127] and, circa 1988, was usually found in old programs. Its ability to ignore the hierarchical and logical structure data meant its use was not recommended and many installations forbade its use.[128]"

That seem wrong to me, because the level 66 RENAMES corresponds to union in C and Pascal's variant records. It was used very often in old COBOL programs because data files were usually pouched in 80 column cards. Records larger than 80 chars where stored in several cards, using a record id and one column to mark which part of the record it has. Even today many programmers ignore how to use unions, but that is not a dangerous feature of any language that ought to be forbidden as is attributed to the book by McCracken.

I don't have that book to corroborate that. Other book by McCracken about numerical methods in Fortran was very popular in that time, I don't have it neither, maybe those books were written before structured programming became a standard. By 1988 it was broadly accepted to write structured programs and OOP started to gain popularity, but many programmers were still using data flow diagrams which incentive undisciplined use of GOTOs, and were reluctant to use structured pseudocode, particularly by programmers out of academy. — Preceding unsigned comment added by 201.137.173.23 (talk) 03:45, 3 July 2021 (UTC)[reply]

GA concerns

[edit]

After reviewing this article, I am concerned that it no longer meets the GA criteria. My concerns are listed below:

  • The lede is several paragraphs long with lots of information added since it passed GAN in 2015. Can this be formatted to better conform to WP:LEDE?
  • The "COBOL 60" section is quite bloated: while it was large when it passed GAN in 2015, it seems to have gotten larger since then and contains many short paragraphs. Is anyone interested in reducing and/or removing information?
  • There is some uncited information.

Anyone interested in fixing up this article? If not it might be nominated to WP:GAR. Pinging the GAN nominator @EdwardH:. Z1720 (talk) 01:23, 26 May 2024 (UTC)[reply]

GA Reassessment

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Article (edit | visual edit | history) · Article talk (edit | history) · WatchWatch article reassessment pageMost recent review
Result: No improvement Real4jyy (talk) 05:26, 16 June 2024 (UTC)[reply]

This article contains a bloated lede (as well as other sections), an orange tag outlining missing information from 2021, and many uncited statements. I posted my concerns on the article talk page, but there was no response. Z1720 (talk) 15:37, 5 June 2024 (UTC)[reply]

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.