Join Slack
Powered by
Null for indexOf() is actually a good idea, thanks...
# stdlib
h
hastebrot
10/09/2015, 11:44 AM
Null for indexOf() is actually a good idea, thanks to Kotlin's type system. Other languages would use exceptions. In assembler we might just set a flag. And in imperative languages it must be some negative value in a signed integer.
9
Views
Open in Slack
Previous
Next