-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid duplicating With[Start|Shutdown] in processorhelper #2788
Comments
See #2778 (comment) |
@bogdandrutu can we close this issue given @punya's comments? |
@bogdandrutu should this issue be closed? |
This seems like a style-based decision. @Aneurysm9 had made a suggestion so @punya can we chat w Anthony and figure out the best practice in this case :-) ty! |
I think @punya covered the pros/cons well in this comment. The important question is probably whether/how often we expect to add new options that can benefit from this change. If we don't, then maybe it's not worth it. The value of the change goes up with each additional option that can utilize it. v0v |
We haven't added any more "generic" options like Start and Shutdown since the time this issue first came up. To me, that's decent evidence that we don't need to optimize for ease of adding future options of this sort. |
Rather than needing to duplicate every
componenthelper.Option
here, might it be better to have something like this:The text was updated successfully, but these errors were encountered: