3 ms·
Hey did you read to the bottom of the article. It shows that that was just a temporary solution, the real invalid code is func (t operation) IsValid() bool {
by zarldev 3y ago
Hey did you read to the bottom of the article. It shows that that was just a temporary solution, the real invalid code is
func (t operation) IsValid() bool {
_, ok := strOperationMap[s]
return ok
}
Tbh it has been updated to us an array instead for string indexing.