Engineering & Technologies, Vol 13, No 3 (2020)

DEVELOPMENT OF THE PROCEDURAL-PARAMETRIC PARADIGM IN THE LANGUAGE GO

Sergey Yurievich Smoglyuk, Evgeny Nikolaevich Garin, Daria Sergeevna Romanova

Abstract


The article discusses a programming paradigm is proposed that defines a new style of program development called procedure-parametric programming (SPT). The paradigm is based on parametric polymorphism, which allows procedures to accept and process variant data types, without an algorithmic choice of alternatives within these procedures. In procedural programming languages, such types are described by unions (union in C, C ++) or variant entries (in Pascal). Algorithmic processing of variants is carried out using conditional operators or switches. This approach is a development of procedural programming methods and serves as an alternative to object-oriented programming.

The procedural and parametric programming paradigm is an extension of the procedural approach. It allows you to increase the capabilities of the latter by supporting data polymorphism. The application of the proposed approach will allow to increase the functional capabilities of the procedures without introducing internal algorithmic changes into them. RFP can be used both independently and in combination with other programming paradigms.