Re:Fun with Unicode in Swift
by tworingsoft on Saturday December 15, 2018 @02:14PM
(#18689835)
> How would syntax highlighting catch that? Those are valid identifiers!
Author here, you're absolutely right. When I wrote this, I was thinking of some of the more obvious tricks like the alternate semicolon, parens or curlies. I'm gonna edit the article to qualify that, and add a note about maybe using a SwiftLint exclusion rule containing all these unicode characters.
Author here, you're absolutely right. When I wrote this, I was thinking of some of the more obvious tricks like the alternate semicolon, parens or curlies. I'm gonna edit the article to qualify that, and add a note about maybe using a SwiftLint exclusion rule containing all these unicode characters.
Thanks for the discussion! :)