So Kotlin style guide evolved, from 8 spaces to 4 ...
# random
l
So Kotlin style guide evolved, from 8 spaces to 4 for continuation indent. Why 8 spaces before? So people transition to 4 spaces later, creating a lots of activity in codebases, which GitHub counts as contributions using Kotlin programming language, and then showcases in octoverse. Conspiracy? Smart move? Doesn't matter, now you can't say you don't know. I meant, Kotlin rocks (regardless)!
r
I'm pretty sure double indent width continuations are pretty standard in Java. Not that this dismisses the conspiracy. You've got to get those TIOBE ratings up somehow, and when the language is so intuitive to use, you just don't get enough stackoverflow activity.
l
TIOBE shines by its current popularity, but has far from ideal metrics. Eventually, it will be disregarded when people will realize the best languages are not highlighted by TIOBE. Popularity is different from quality, and rarely helps predict the future.
r
Yes, my comment was meant to be sarcastic. I should have added a 🧌 to make that clear.
o
Of course you should make sarcasm explicit, in Kotlin style!
😆 6
n
Copy code
sarcasm { ":trollface:" }
l
We need extensions for emojis in unicode, Kotlin style!
What if Unicode was Java, and something else, Kotlin? 🤯 😮
n
you can just use emoji as is in strings most of the time
but maybe you want this: val Emoji.😱 =
":scream:"