3 ms·
I don't really have the energy to debate this, but the Kotlin standard library doesn't use Result at all: \kotlin\libraries\stdlib> gci -r | where extensio
by vips7L 1y ago
I don't really have the energy to debate this, but the Kotlin standard library doesn't use Result at all:
\kotlin\libraries\stdlib> gci -r | where extension -eq .kt | where name -ne Result.kt | grep "\): Result<" | measure-object | select count
Count
-----
0
It does however throw a shit ton of exceptions:
\kotlin\libraries\stdlib> gci -r | where extension -eq .kt | grep "throw " | measure-object | select count
Count
-----
1176
So like I said the language doesn't tell you what can error. Cheers man.