Closed breml closed 2 years ago
@magnusbaeck Some of the "constructors" have really long argument lists by now, so this should be refactored. Maybe I find some time at the end of the month to have a look at this.
I see two options to address the long argument lists for the constructors:
(see: https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis)
I personally like the functional options approach very much.
Ah yes, functional options are quite nice. Incidentally I implemented them in https://github.com/eiffel-community/eiffelevents-sdk-go/pull/16 just a few days ago.
Fixes: #168