Skip to content

Различные примеры реализации ситуаций расширени кода, включая прямые решения и эволюционное наращивание.

License

Notifications You must be signed in to change notification settings

kreofil/evo-situations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readme на русском

Examples of programs demonstrating the capabilities of procedural-parametric programming

Along with examples of procedural-parametric programs, examples of programs written using other programming paradigms are also provided for comparison. The programs are divided into thematic directories.

evolution

The evolution directory contains examples demonstrating the possibilities of evolutionary program expansion. That is, adding new functionality and data without changing the previously written code. The main idea is to compare the PP paradigm with other programming paradigms.

They are considered as options that provide direct extension using the techniques that this or that paradigm provides. In this situation, where direct solutions do not provide evolutionary extension, an extension with changes is implemented.

In addition, examples are located separately in which, due to additional code, an attempt is made to implement an evolutionary extension of previously written code.

gof-patterns

Programs implementing OO design patterns discussed in the Gang of Four (GoF) book. Implemented in C++ and using the PP approach. The main idea is to show that the PP paradigm provides equivalent solutions. Often these solutions are more diverse and effective.

other

Various programs written using the PP approach. In some cases, similar programs implemented using other programming paradigms are given.

problems

Programs demonstrating various problems associated with compiler errors and shortcomings, as well as demonstrating situations where one or another solution turned out to be erroneous, but can be implemented in the PP programming language of a higher level.

technics

Basic techniques of procedural-parametric programming in comparison with techniques used in other paradigms. The main idea is to demonstrate basic capabilities equivalent to those of other paradigms, options and solutions that provide algorithmic and compositional solutions when one or another technique cannot be implemented directly, as well as techniques that are present in the PP paradigm but are absent in other paradigms.

Alternative approaches include: OOP (C++), Pure procedural approach, Go and Rust language capabilities.

tmp

The catalog contains raw and unfinished programs. It also contains templates for creating catalogs and old programs that can be modified for placement in various thematic catalogs.

About

Различные примеры реализации ситуаций расширени кода, включая прямые решения и эволюционное наращивание.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published