What are some good resources on writing idiomatic ...
# getting-started
k
What are some good resources on writing idiomatic Kotlin? I always feel like my code, the bigger it gets starts to look more like Java/C.
j
Did you read the official Idioms page? It's a good start 🙂
Also, the documentation about collections is great, it provides useful examples with proper idioms
I do not know any other idiom resources than the official ones 😅
r
Effective Kotlin maybe?
b
Also to some extent just using IntelliJ, the static code analysis is quite good in highlighting some idiomatic Kotlin functions you can replace existing code with. Especially valuable every new Kotlin version when new APIs are released.
5
s
a
if you don't mind diving a bit into functional-style idioms, https://arrow-kt.io/learn/design/ has several tutorials and guides
k
Thanks everyone! Very helpful
Will check them all out soon
a
What do you mean that it starts looking like Java/C? They are wildly different