This profile might be incomplete.
Open on mastodon.social Rob NapierTwitter:
GitHub:
Personal infoAbout:
Swift and Go. Love 'em both. They make me mad in completely different ways. Infosec as required. robnapier.net
Wall 2 posts
For those of you who don't have your own personal @Catfish_Man to answer your questions (you really should; it's quite the time saver, but get your own): Interesting fact I learned today. In Swift, "\r\n" is one Character because that's what Unicode requires. https://unicode.org/reports/tr29/#GB3 So str.split("\n") may not do what you expect if \r\n is present. \r\n is one Character, which is not equal to \n, so it won't split at all. (I expected it to split, and leave the \r, but Unicode says no).
Show previous comments
@cocoaphony it has more consequences. I personally don't know what to think about. It convenient for one task and burden for task where each character matters |