You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would need a new section explaining how I designed cross-cutting Types global project namespace to be easily reused across the project as a module encapsulating all the types in the application.
I leveraged the inversion of control principle, so instead of defining all the types in one place (in Types module, it's the responsibility of modules (which are owners of that particular type annotations) to extend the Types namespace.
The main benefits are:
simplicity to extend
easy maintenance - for instance when you remove some application module you also delete the extension point because it's colocated with the module
We would need a new section explaining how I designed cross-cutting
Typesglobal project namespace to be easily reused across the project as a module encapsulating all the types in the application.I leveraged the inversion of control principle, so instead of defining all the types in one place (in Types module, it's the responsibility of modules (which are owners of that particular type annotations) to extend the
Typesnamespace.The main benefits are:
IssueHunt Summary
Backers (Total: $40.00)
Submitted pull Requests
Become a backer now!
Or submit a pull request to get the deposits!
Tips