[swift-evolution] Proposal to remove semicolons
David Owens II
david at owensd.io
Mon Dec 14 11:21:56 CST 2015
Swift already doesn’t require semicolons, so I’m confused.
Are you saying you want to make this invalid?
let df = 12
let db = 12; // do not allow this line?
And would you disallow constructs like this (single-line, multi-statements)?
var x = 10; x = 12
-David
> On Dec 13, 2015, at 6:12 AM, João Nunes via swift-evolution <swift-evolution at swift.org> wrote:
>
> Hi,
>
> I submitted a PR with a proposal to remove the swift end of line semicolons.
>
> It was rejected because i didn't discuss it here. So here i'm discussing it :)
>
> My proposal is simple: remove the semicolons in the end of lines.
> It isn't needed and makes the code ugly.
> It must be decided wether to use it or not for every project we start in the coding style.
>
> What do you think?
>
> João Nunes
>
>
> Sent from my iPhone
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
More information about the swift-evolution
mailing list