+1 from me. -Kenny
> On Aug 29, 2016, at 1:16 PM, DifferentApps info via swift-evolution > <[email protected]> wrote: > > The advantage is that you do not need to define a conditional flag for the > #if. > It is also more concise. > > Code disabling (with /{...}/) is a tool useful when developing algorithm, and > disabled code should not be aimed to remain definitively in a Swift file. > > Andre Ponzo > >> Le 29 août 2016 à 20:20, Magnus Ahltorp <[email protected]> a écrit : >> >> >>> 27 Aug. 2016 21:03 Andre Ponzo via swift-evolution >>> <[email protected]> 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 >> >> > > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
