[swift-evolution] [Discussion] Modernizing Attribute Case and Attribute Argument Naming

Dmitri Gribenko gribozavr at gmail.com
Wed Feb 17 12:36:01 CST 2016

On Wed, Feb 17, 2016 at 10:18 AM, Erica Sadun via swift-evolution
<swift-evolution at swift.org> wrote:
> For your consideration: Attribute Ophidiophobia. Feedback and suggestions
> welcome. -- Erica
> Modernizing Attribute Case and Attribute Argument Naming
> Proposal: TBD
> Author(s): Erica Sadun
> Status: TBD
> Review manager: TBD
> Introduction
> Two isolated instances of snake case remain in the Swift attribute grammar.
> This proposal updates those elements to bring them into compliance with
> modern Swift language standards.
> The Swift-Evolution discussion of this topic took place in the "[Discussion]
> Modernizing Attribute Case and Attribute Argument Naming" thread. Hat tip to
> Michael Wells
> Motivation and Detail Design
> Parts of the Swift attribute grammar retain lower snake case patterns that
> no longer match modern conventions:
> The warn_unused_result attribute should use lowercase and be renamed
> warnunusedresult.

Hi Erica,

Maybe it is just me, but I find @warnunusedresult to be unreadable --
it looks like a continuous string of lowercase characters at a glance.


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

More information about the swift-evolution mailing list