Concern: boilerplate code #50
Replies: 1 comment 4 replies
-
Yes, the boilerplate code around the protobuf events is non-negligible. The disadvantages of Protobuf events lie mostly in the extra code that needs to be written to define and create them.
On the other hand, I also had the following considerations:
Side note: The implementation is work in progress and the current code defining and creating events Bottom line: Unless we get rid of the whole event-based architecture altogether |
Beta Was this translation helpful? Give feedback.
-
Original concern
Programming in Mir framework seems to require
a significant amount of boilerplate code due to its event-based
architecture. Each new operation requires to define a new event
sub-/type, as well as additional code to conveniently construct and
properly dispatch the new event sub-/type.
(copied @sergefdrv 's post in umbrella discussion #46 )
Beta Was this translation helpful? Give feedback.
All reactions