
Is Feature Oriented Programming Magic?
I tell developers about Feature Oriented Programming and they look at me in disbelief: "That's just not possible." To illustrate this, this comic:
[Иллюстрация отсутствует в исходном документе] Code generated from specificationBut what exactly IS code?
In modern programming languages, the source code is still based on the old principles of the ALGOL programming language: variables that can be set, control structures like IF and WHILE, procedures that can be called. A Software is ultimately a Program, so a list of instructions that must be processed.
But who is so pedantic and narrow-minded that they would write a complex software system, for example an ERP, entirely in sequentially processed lines of code? Right. Developers.
But before that happens, an IT specialist usually works on a planning: With pen and paper, he draws the rough structure of the software architecture so that the developer has a guide for the implementation. This method is called modeling and is similar to the modeling with Styrofoam that an architect performs before giving the masons instructions to lay stone upon stone.
And this is exactly where FOP comes in: Instead of viewing modeling separately from development, in FOP, modeling is simultaneously the rough specification. Developers now only need to add the details. However, the complete "hacking" of the total code is eliminated.
This offers several advantages for the customer:
- Software can be assembled from modules and features
- Parts of the software, made from ready-made modules, already have all functions and features
- Software is finished significantly faster
- By using "less" code, fewer errors also occur
- Nevertheless, complete new programming is still possible
What does this mean concretely?
If you have large projects such as ERP, CRM, DMS, or other all-in-one systems, you are well advised not to implement them line by line, but with FOP.
We are happy to help you with any further questions.