nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Unit number of 00-00 is allowed to be added #2317

Open nus-se-script opened 6 days ago

nus-se-script commented 6 days ago

Seems unlikely that there will be a unit with 0th floor.

image.png


[original: nus-cs2103-AY2425S1/pe-interim#3154] [original labels: type.FeatureFlaw severity.Low]

OrangeCatLoves commented 6 days ago

Team's Response

In some cases, 00-00 could be a valid placeholder or identifier for special purposes. Furthermore, in certain scenarios, 00-00 could represent a unit that is not assigned or is under construction but still needs to exist in the system for tracking purposes. Further examples may include when a buyer is unsure which exact unit he wants to buy from that area and also when the building's 1st floor is labeled as 'G' for ground floor.

Enforcing arbitrary restrictions on unit numbers (e.g., disallowing 00-00) could exclude valid use cases that may not be immediately apparent. For example, certain organizations or properties might have unconventional naming conventions that include 00-00 as a valid unit designation. Flexibility ensures inclusivity for edge cases that may not align with standard expectations.

Duplicate status (if any):

--