[swift-evolution] [Draft] Clarify interaction between comments & operators
me at jesserusak.com
Sat Jan 9 19:13:54 CST 2016
Thanks both of you for your positive feedback. One response below:
> On Jan 9, 2016, at 2:26 PM, Félix Cloutier <felixcca at yahoo.ca> wrote:
> I think it's a good idea to clarify how operators and comments "work together".
>> Le 9 janv. 2016 à 12:25:22, 肇鑫 via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> a écrit :
>> I think treat the comments as absence is a good idea. As the comments are only for the programmers not for the compiler.
>> Besides, I think one rule should be added. The comments that are used to generate the help documents or #pragma like should always be written in separated lines and should never mixed in the code lines.
I think that this is probably a good convention, but I’m not sure you’d want that as part of the language. Maybe something a style-checker would do?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution