Le 14/08/2016 à 22:10, Mr Flibble a écrit :
> If you have a problem with C++ lambdas then I am sorry but modern C++ is
> simply not your cup of tea so you should try another language.
I am just insunuating very perfidiously your honor that the "old"
signal/slot paradigm is a better idea for a windowing system as your
extremely complicated syntax.
It assumes the existence of a button OBJECT that sends signals to
subscribers. This is the base of many windowing systems and is a well
known paradigm.
You did not show any code and I think that the new syntax doesn't bring
anything new or innovative but does the same thing in a more complicated
way.
Specifically I asked what your new syntax brings for the application (in
this case a windowing system).
Please argue man, instead of throwing around completely empty sentences like
<quote>
modern C++ is simply not your cup of tea so you should try another language.
<end quote>
"Modern C++ is like that" you say. As the signal slot paradigm that is
working since years perfectly is suddenly "old" and must be replaced by
"modern" constructs that are smaller, and more complicated to read.
You did NOT answer why this new construct is in any way better than the
"old". The only thing that you said is that is an "old problem". Well
yes, hanging code an events is the essence of event oriented
programming, and that is in use since ages.
And this is a typical case where this fanatism of the "new" and the
piling up of new and newer stuff that nobody follows any more.
I am still waiting for an answer:
WHAT IS THE ADANTAGE of the new syntax in terms of software engineering?
(Besides being more incomprehensible)
Thanks in advance for your explanations.