Substring syntax is getting ridiculous!

Referring to things as "ridiculous" and your fellow commenters as "lame" is disrespectful and inappropriate for this forum. Combativeness is not how we do things around here. Your posts touch on issues we care about and are looking into solutions for, but your arguments about indexing and UTF-16 are reiterating aspects of String's design that have been considered and iterated thoroughly already. I would recommend participating in one of the existing threads on the subject of string and/or indexing ergonomics (as @nuclearace noted, there's Shorthand for Offsetting startIndex and endIndex), or if you have novel solutions to the ergonomics problems, starting off a thread with more concrete ideas for how things could be improved.

14 Likes