https://github.com/JetBrains/kotlin-web-site/blob/yole/styleguide/pages/docs/reference/coding-conventions.md#overload-layout
"Always put overloads next to each other in a class." Don't you think that it is not coherent with statement "Do not sort the method declarations alphabetically or by visibility, and do not separate regular methods from extension methods. Instead, put related stuff together, so that someone reading the class from top to bottom would be able to follow the logic of what's happening. "?
y
yole
11/27/2017, 4:15 PM
no. if you have methods with the same name that do unrelated stuff, this looks like really bad design to me