[swift-evolution] [Accepted] SE-0168: Multi-Line String Literals
brent at architechies.com
Wed Apr 19 17:27:40 CDT 2017
> On Apr 19, 2017, at 3:18 PM, Xiaodi Wu via swift-evolution <swift-evolution at swift.org> wrote:
> Other common tools like Git already flag trailing whitespace by default, so even if Swift doesn't warn about it, you might still need to satisfy other tools in your pipeline.
> Isn't that an equally good argument for Swift *not* warning you about it? If it's harmful, you'll have other tools in the pipeline to flag it for you.
Cosigned. We already have an Xcode setting to strip trailing whitespace, a Git setting to flag it, and linter settings to remove it. (For instance, SwiftFormat has a --trimwhitespace flag.) Not every tool needs to handle every case of questionable style.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution