[swift-evolution] RFC: didset and willset

Chris Lattner clattner at apple.com
Mon May 23 18:12:53 CDT 2016


On May 20, 2016, at 4:18 PM, Ricardo Parada via swift-evolution <swift-evolution at swift.org> wrote:
> If I remember correctly the property behaviors proposal it seemed that accessors such as willSet, didSet, willRead, etc. were being called.  I look at them at the same level as instance methods, properties, etc. and should follow camelCase. Not to mention that I think they look so much better camelCase. 
> 
> When we start having accessors made up of three or more lowercase conjoined words we are going to realize what a bad choice it was to switch these to lowercase.  
> 
> I think they should stay camelCase. Please. :-)

FWIW, the entire purpose of having a review period is so that lots of people from the community can weigh in on the topic.  When this comes up for review (tomorrow), please chime in on the review thread.

I have no idea how the core team as a whole feels about this.

-Chris


More information about the swift-evolution mailing list