Open tehsphinx opened 4 years ago
This issue describes what the Go analyzer should check for in the card-tricks exercise.
card-tricks
GetItem
else
if
switch
SetItem
PrefilledSlice
len
cap
range
NumberRow
make
new
var xy []int
for i := 1; true; i++
RemoveItemPure
for
append
RemoveItem
I would like this one. I have begun working on it 😎.
all your @jamessouth
Please note, the description does not yet reflect the latest version of the exercise.
This issue describes what the Go analyzer should check for in the
card-tricks
exercise.Function
GetItem
else
should be usedif
statement (with 2 conditions)switch
should be usedFunction
SetItem
GetItem
apply here as wellFunction
PrefilledSlice
len
orcap
givenrange
, not recursive)Function
NumberRow
make
ornew
should be used but a nil slice created withvar xy []int
for i := 1; true; i++
)Function
RemoveItemPure
GetItem
apply here as wellfor
loop, onlyappend
Function
RemoveItem
GetItem
apply here as well