2 ms·
Yeah, that is a strange comment. For me, the canonical use case for all non-negative but -1 for error is index_of(collection, value). If they "never run into
by throwaway2037 4y ago
Yeah, that is a strange comment. For me, the canonical use case for all non-negative but -1 for error is index_of(collection, value). If they "never run into negative numbers", do they not see/use this pattern?