Re:Emerging Best Practices in Swift
by mjmsmith on Tuesday November 17, 2015 @09:09PM
(#10585461)
Why is this explicitly testing for false:
rather than:
[ Parent
| on HN ]
Re:Emerging Best Practices in Swift
by florian_buerger on Tuesday November 24, 2015 @01:11PM
(#10622376)
I use this style myself. It is way easier to read than `!condition`. If you are scanning the code, a single `!` at the beginning of the condition won't stand out that much.