I recently tried out Ktor. One thing I found diffi...
# ktor
k
I recently tried out Ktor. One thing I found difficult was the examples all use wildcard imports. And so when I was making my own project I chose not to wildcard import which is super tricky since the DSL brings in extension methods from all over the place and if you miss one you get a non helpful error message. Is the expected usage that I'm going to wildcard import all of the ktor stuff?
👍 1
c
At ktor team we believe that star imports make code shorter, simpler and easier to support (ex. easier to merge). This is why we decided to use such code style. However the default codestyle is not using star imports so there are two kinds of developers 😀