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 command ServePort check-port -p 8080 doesn't need a flag to specify the port, it leads to bad design.
Simply using ServePort check-port 8080 makes up for a more natural and instinctive approach, as it's already stating the obvious without the use of flags.
In general we should be reserving flags as a means for configuring and altering the behavior of a command and use arguments for the obvious inputs it needs.
Outcome
Scout the current design to look for places where this improvement makes sense.
The text was updated successfully, but these errors were encountered:
Problem
The command
ServePort check-port -p 8080
doesn't need a flag to specify the port, it leads to bad design.Simply using
ServePort check-port 8080
makes up for a more natural and instinctive approach, as it's already stating the obvious without the use of flags.In general we should be reserving flags as a means for configuring and altering the behavior of a command and use arguments for the obvious inputs it needs.
Outcome
Scout the current design to look for places where this improvement makes sense.
The text was updated successfully, but these errors were encountered: