Topics

User Functions

Older Stories


Welcome to myCobol.net Saturday, 29 April 2017, 09:32 @ CEST

Cobol Text, not Source Code.

Design Patterns
  • Friday, 28 June 2013, 14:57 @ CEST
  • Contributed by:
  • Views:
    785
The Cobol language was intended as program text and followed a certain common text format. It contains DIVISION’s with SECTION’s. In text processing terms the entries could form a (virtual) Table Of Contents (TOC). Each SECTION was build from PARAGRAPH’s . The language format is furthermore based on SENTENCE’s (ending with a period) containing statements (separated by a optional comma).

In other words, a structure as familiar as a common text document. Doesn’t this fact invite to dive into the principles of text processing and common usances in that area? To my opinion it is at least worth the try.

Following topics should be explored:
Uppercase, lowercase, camelCase.

Create Building Blocks as a notary does.

Extend the TOC’s with paragraphs and high level statements.

Macro’s for fill-in-the-form.

Architecture is King.

Workflow is external. Always.

Business Process Modeling: perform, perform, perform.

Outsource what renders the program unreadable: call a routine or two.

Think modular but without structured approaches.

The following comments are owned by whomever posted them. This site is not responsible for what they say.