nus-cs2113-AY2223S2 / pe-dev-response

0 stars 0 forks source link

Command parsing is irregular #1612

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

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:

image.png

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.


[original: nus-cs2113-AY2223S2/pe-interim#2204] [original labels: severity.Low type.FeatureFlaw]

linuspuah commented 1 year ago

Team's Response

No details provided by team.

Duplicate status (if any):

--