-
-
Notifications
You must be signed in to change notification settings - Fork 146
Description
While completing the Windowing System exercise, I realised my tests were failing due to inconsistent ordering of parameters. The tests expect a different pattern than what is laid out earlier in the instructions. These inconsistencies make the intended pattern confusing, and the enforced order differs from typical convention.
The patterns are as follows:
Task 1
- Instructions: x, y, height, width
- Example: x, y, width, height
Task 2
- Instructions: x, y, width, height
- Example x, y. width, height
Task 3
- Instructions: height, width
- Example: height, width
- Tests: height, width
Task 4
- Instructions: y, x
- Example: y, x
- Tests: y, x
Because the tests enforce the (height, width) and (y, x) ordering in later tasks, learners must follow the unconventional ordering even though it contradicts earlier instructions.
Would it make sense to standardise to a single pattern, presumably (x,y) and (width, height) given that these are far more common practice? Using recognisable screen resolutions of 800x600 and then requiring them in the reverse order can be quite unintuitive.