Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Go Enums Suck. Parent comment
func (t operation) IsValid() bool { _, ok := strOperationMap[s] return ok }
Tbh it has been updated to us an array instead for string indexing.
There are no comments on this comment yet.
func (t operation) IsValid() bool { _, ok := strOperationMap[s] return ok }
Tbh it has been updated to us an array instead for string indexing.