Standardize positions of closing parentheses
Opened this issue · 1 comments
sgrimm-sg commented
The style guide is currently silent about which of these is preferred:
someFunction(
someOtherFunction(
someThirdFunction(
param1,
param2,
param3)))
someFunction(
someOtherFunction(
someThirdFunction(
param1,
param2,
param3
)
)
)
The Google Java style guide mandates the first style and it'd be great if the Kotlin style guide was similarly specific. Doesn't matter to me which of the two styles it settles on, just that it picks one for consistency.
NightlyNexus commented
The JetBrains style guide (https://kotlinlang.org/docs/reference/coding-conventions.html) likes the second. (I've come to like it as well.)