https://kotlinlang.org logo
#coroutines
Title
# coroutines
e

elizarov

08/29/2017, 2:53 PM
@dragas You are definitely inventing your own code style, which makes your code unnecessary harder to read (it occupies way more vertical space than it should for such a simple code). That is the first thing that meets an eye.
2
d

dragas

08/29/2017, 4:23 PM
That just feels natural, coming from C and all. ¯\_(ツ)_/¯
j

jw

08/29/2017, 6:49 PM
Remind me of C#, too. I don't miss that style!
👍 5
e

enighma

08/29/2017, 9:40 PM
@dragas well C doesn’t have a standard style guide, which is one of the problems with C and C++. Going from one library to another can feel like going from one language to another. @elizarov It would be awesome if Kotlin would have an official style guide something like PEP8 is python. I know that using Javas takes you a long way, but not all the way. Or are there already initiatives for that?
e

elizarov

08/29/2017, 10:05 PM
When you, at least, follow the basics of the Kotlin style it looks quite good and consistent: https://kotlinlang.org/docs/reference/coding-conventions.html
e

enighma

08/29/2017, 10:10 PM
That one I’ve missed! It’s a good start
4 Views