https://kotlinlang.org logo
Title
n

nish

03/17/2018, 5:05 PM
This is just an arbitrary question, but why don’t long literals support lower case
l
? because it looks like floats do with
f
.
c

Czar

03/17/2018, 5:10 PM
this was done on purpose, because in some alphabets
l
looks like
1
. Yup, it's arguably wrong to use such alphabets for writing code, but here we are. Also many coding best practice guides and conventions demand use of upper case
L
in such circumstances, so Kotlin team decided to make it explicit.
n

nfrankel

03/17/2018, 5:49 PM
thanks for the explanation 👍 i learned something today 😄
n

nish

03/17/2018, 5:54 PM
Ah I see. Thanks for that 😄