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
The boolean process parameter for enabling or disabling post- and preprocessing is a bit lost there. It took me a long time to fully understand what pre- and postprocessing really means and I have talked to quite a few developers in this ecosystem who still don't know. If you read code containing some exemplary run call, it is not self-explanatory what this boolean in between the command name and arguments is representing.
Could we not split these two cases into two functions (naming open for discussion)?
They would not interfere with the old version which could be deprecated but still provide backwards compatibility, right?
The text was updated successfully, but these errors were encountered:
frauzufall
changed the title
Process parameter in run calls is difficult to comprehend
Process parameter in e.g. CommandService::run is difficult to comprehend
Nov 4, 2018
I want to raise a general issue with the
run
methods of theCommandService
and theModuleservice
(and maybe other places too?).The
boolean process
parameter for enabling or disabling post- and preprocessing is a bit lost there. It took me a long time to fully understand what pre- and postprocessing really means and I have talked to quite a few developers in this ecosystem who still don't know. If you read code containing some exemplaryrun
call, it is not self-explanatory what this boolean in between the command name and arguments is representing.Could we not split these two cases into two functions (naming open for discussion)?
They would not interfere with the old version which could be deprecated but still provide backwards compatibility, right?
The text was updated successfully, but these errors were encountered: