The Builder
Separate the construction of a complex punch card layout from its representation.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Builder
ARCANUM SCHOOL: Transmutation // Mainframe
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// PLI PATTERN //
/* The Builder */
BUILDER: PROC OPTIONS(MAIN);
DCL 1 BUILD_STRUCT BASED(B_PTR),
2 BUILD_PART_A ENTRY,
2 BUILD_PART_B ENTRY,
2 GET_RESULT ENTRY RETURNS(POINTER);
DCL B_PTR POINTER;
PUT SKIP LIST('Assembling strict formatted monolith...');
END BUILDER;
Through the Builder, the complex creation of PL/I structures is handled step-by-step, hiding the punch card layout intricacies.
Runic Tags:
#builder
#assembly
#mainframe