Instant Commands vs Regular Commands

Are there any downsides to using instant commands for simple tasks such as toggling solenoids and turning on or off motors? If we make a new command object for every command a lot of files are being produced so I am just wondering whether or not using instant commands for simple things is bad programming practice or if it is fine.

Inlining commands is the better practice for those simple tasks and is also good for more complex ones too. See this documentation article for more details.


This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.