[swift-evolution] Java-style annotations (attributes?)

Rick Mann rmann at latencyzero.com
Wed Sep 28 05:28:57 CDT 2016


> On Sep 27, 2016, at 20:24 , Chris Lattner <clattner at apple.com> wrote:
> 
> 
>> On Sep 27, 2016, at 5:02 PM, Rick Mann via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> I did a little googling, but didn't find this specific question being asked. I've had the question in my head for a while now, so I apologize if I already brought this up.
>> 
>> Will Swift ever support introspectable Java-style annotations? I think the current syntactic construct is called an Attribute, but they'd be customizable, created in much the same way as classes are.
> 
> Hi Rick,
> 
> This is something that many people are aware of and is commonly requested.  It isn’t on the short-term todo list (which is oriented around ABI stability at the moment) but is something that many folks are interested in adding at some point.

Thank you, that's great news.

In case you're interested, this is why I want it. I'd really like to see Baratine re-implemented in pure Swift:

	http://baratine.io

If you can spare the time, I highly recommend checking out the Getting Started. It's revolutionary for web services.


-- 
Rick Mann
rmann at latencyzero.com




More information about the swift-evolution mailing list