[swift-evolution] [Idea] Distinguishing code comments from text comments.

Magnus Ahltorp map at kth.se
Mon Aug 29 13:20:16 CDT 2016


> 27 Aug. 2016 21:03 Andre Ponzo via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 1) Advantages of disabled code ( /{ ... } ) instead of commented-out code (/* ... */):

> 2) Advantages of /{ ... } instead of "if false { ... }":

What are the advantages of this compared to conditional compilation (#if)?

/Magnus




More information about the swift-evolution mailing list