There doesn't seem to be a standard meta post for assuming architecture or hardware, recently while writing an answer for This Challenge I ran into an issue with the mode
windows utility.
By default mode
will output information on any COM ports on the system as well as the current CLI, in the above situation only the information for the cli was required, and it was a penalty of 4 bytes (using mode con
instead of mode
) to ensure consistent output on systems which have multiple com ports.
in this situation is it correct to assume that since a "plain" system or VM with only basic hardware and software can run this correctly, that omitting the four bytes is correct? is there a cutoff point for things we're able to assume about the environment?