vault backup: 2024-10-01 13:51:48
This commit is contained in:
@@ -20,6 +20,7 @@ Questions:
|
|||||||
4. Is there a way to calculate the coordinates of the surrounding cells without statically constructing a list of offset pairs?
|
4. Is there a way to calculate the coordinates of the surrounding cells without statically constructing a list of offset pairs?
|
||||||
5. You iterate through all cells in the board multiple times. Can you extract that logic to reuse wherever needed instead of copying it?
|
5. You iterate through all cells in the board multiple times. Can you extract that logic to reuse wherever needed instead of copying it?
|
||||||
6. Can he explain why using GridSize at the property initialization level doesn't work? He couldn't explain it--he needed a const or static integer for `GridSize` instead of a readonly class field. Opted to initialize the property at the top of the constructor.
|
6. Can he explain why using GridSize at the property initialization level doesn't work? He couldn't explain it--he needed a const or static integer for `GridSize` instead of a readonly class field. Opted to initialize the property at the top of the constructor.
|
||||||
|
7. Can he simplify the user input questions (like don't show option for placing a flag if no squares are revealed yet--ie, impossible to know where mine is yet), or does he want to allow a user to place flags without knowing
|
||||||
|
|
||||||
Nits:
|
Nits:
|
||||||
1. Property, field and variable naming not consistent
|
1. Property, field and variable naming not consistent
|
||||||
|
|||||||
Reference in New Issue
Block a user