Jonathan Lennox
05/25/2022, 6:57 PMval snapshot: Snapshot
get() {
val bucketCounts = Array(thresholdCounts.size) {
- i ->
+ i ->
Pair(Pair(thresholds[i], thresholds[i + 1]), thresholdCounts[i].sum())
}
Why is it better to have the variable indented like that? It seems odd to me.Jonathan Lennox
05/25/2022, 6:58 PMjlleitschuh
05/25/2022, 6:58 PMJonathan Lennox
05/25/2022, 7:01 PMjlleitschuh
05/25/2022, 7:02 PMjlleitschuh
05/25/2022, 7:02 PMJonathan Lennox
05/25/2022, 7:03 PMtapchicoma
05/25/2022, 7:08 PMbbaldino
05/25/2022, 7:58 PMbbaldino
05/25/2022, 7:58 PMephemient
05/25/2022, 9:34 PM{ i ->
on the same line is definitely the more common style