It is slightly unclear how the program distinguishes between correct and incorrect syntax when spaces are missing or included.
For example, in the add command, a space is necessary between add and the following quantity, but no space is required between the quantity, /of keyword, and item name:
This could be inconvenient for fast-typists who might type a space in the incorrect location (e.g. a fast-typist intending to type add 1 /of test might type add 1 /oft est, which is processed as a valid command where an item is recorded as [0/1] t est). An error for incorrect syntax might be expected instead.
It is slightly unclear how the program distinguishes between correct and incorrect syntax when spaces are missing or included.
For example, in the
add
command, a space is necessary betweenadd
and the following quantity, but no space is required between the quantity,/of
keyword, and item name:This could be inconvenient for fast-typists who might type a space in the incorrect location (e.g. a fast-typist intending to type
add 1 /of test
might typeadd 1 /oft est
, which is processed as a valid command where an item is recorded as[0/1] t est
). An error for incorrect syntax might be expected instead.[original: nus-cs2113-AY2223S2/pe-interim#2204] [original labels: severity.Low type.FeatureFlaw]