4 ms·
> SINGLE_EMOJI_COMMENT Bwahahaha. Sorry, I’ve just imagined the poor sod who has to implement this grammar and has to decide whether presentation selectors or
by mananaysiempre 2y ago
> SINGLE_EMOJI_COMMENT
Bwahahaha. Sorry, I’ve just imagined the poor sod who has to implement this grammar and has to decide whether presentation selectors or (potentially unknown) ZWJ sequences or (potentially unknown) letter-pairs denoting flags count parts of as single emoji (in theory they do[1], but good luck figuring out what tables you need).
> the way parameter/argument labels are introduced in Swift: in the function signature, you use two names (separated by a space) before the colon, instead of one
Side note: Swift’s style likely comes from Objective-C, which in turn comes from Smalltalk.
[1] https://www.unicode.org/reports/tr51/ https://www.unicode.org/reports/tr51/
- Joker_vD 2y agoYeah, I also have stopped for a second to consider what "SINGLE" should mean here but then realized I was thinking about Unicode grapheme clusters, and emoji sequences, and I should probably not do that before the dinner (or ever, really).