What is the meaning of Boost :: Signals?

Firstly, I am an absolute beginner in programming, so do not scoff at me too much.
The only thing I saw for the signals used for the GUI toolkits, and the GUI toolkits all have their own signaling. So, you can enhance: Will signals even be used with these GUI tools? Would that be a good idea? What other applications have signals?

+3
source share
4 answers

Signals are an implementation of event messages, like Smalltalk / Objective C Messages or Events in various other (e.g. C #) lanugages.

You can use them for a variety of tasks, take a look at the observer pattern

Why are you using the Observer pattern?

The benefits are mostly organizational, when you work with large applications, it’s important to use reuse patterns that help maintain the consistency of the development team.

- ( ), , , , , , , , .

, , , 60% , , , .

, Observer . , , , .

+6

, GUI ( ). , (, , ). , , (, Erlang Scala ).

+4

GUI. , ( ) . ( ) .

+2

Observer, , , , - , . , , , , .

- Observer.

+2

Source: https://habr.com/ru/post/1776821/


All Articles