> I use trailing closures all the time because I find the brackets too noisy, > like ; at the end of a line is too noisy. The sort of code I use is: > > let foo = myArray > .filter { $0 & 1 == 1 } > .map { $0 + 1 } > .reduce(0) { $0 + $1 }
+1 to this. Please don't remove them, they're great. A.
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution