<html><body><div>Hi all,</div><div><br data-mce-bogus="1"></div><div>I think the "old style" `#pragma` is necessary in Swift.</div><div>Exactly in the same way it is available in C/C++ or Objective-C/C++, or in something else portable way.</div><div><br data-mce-bogus="1"></div><div>Because `#pragma` is not handled in Swift, in Xcode they overloaded the semantic of comments, giving to the comment `// MARK:` the semantic of `#pragma mark`</div><div><br data-mce-bogus="1"></div><div>But my point of view is that, I would like that what it is written in a source comment (what it is written after a // or between /* */ ) should be fully ignore by compiler or IDE.</div><div><br data-mce-bogus="1"></div><div>I understand that maybe a compiler shouldn't lose time handling `#pragma options`, but giving semantics to source comment, I think it can be dangerous and misunderstood.</div><div><br data-mce-bogus="1"></div><div><div>The implementation in Swift compiler should be simple, ignoring any line beginning with `#pragma` (ok I know It is not simple)</div><div>The IDE will handle the `#pragma`</div></div><div><br data-mce-bogus="1"></div><div>That's why they invented `#pragma`in C/C++ Objective-C/C++ right?</div><div><br></div><div>Thanks for your attention, and sorry for my bad english: I am Italian native spoke language.</div><div><br data-mce-bogus="1"></div><div>#pragma mark - sign</div><div>Best Regards,</div><div>Isidoro Ghezzi</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div></body></html>