Open STeng618 opened 2 months ago
Hi there, thank you for the bug report!
Our team recognizes that opt can be used here also. However, we feel that we are not violating the rules by using alt here as it is not clearly mentioned that when only one condition is present, alt cannot be used.
Semantically, when there is only one condition, alt and opt mean the same thing.
As such, we have chosen not in scope label for this issue as we believe that it is a valid concern but we should not be penalized for this.
Thank you!
Team chose [response.NotInScope
]
Reason for disagreement: For proof, refer to lecture video uploaded on 22/3/2024. The professor explained the difference between opt and alt at 28:00
alt frames are used to indicate alternative paths. When there is only 1 path, an opt frame should be used. Using an alt frame for just 1 execution path does not comply with course materials.
Use of alt frame but there is no "else". I think you meant "opt"