smart constructor for Grid #1981
Labels
Z-Developer Experience
This issue seeks to make life easier for developers writing Scenarios or other Swarm code.
Z-Refactoring
This issue is about restructuring the code without changing the behaviour to improve code quality.
Should have a "smart constructor" that enforces the invariant that all rows are equal length.
Later, if we create a separate
EmptyGrid
constructor (#1843), this can also ensure that the alternative has nonempty rows.The text was updated successfully, but these errors were encountered: