Re:It’s Not Wrong that “ ”.length == 7
by wizofaus on Friday June 02, 2023 @05:00AM
(#36162847)
Storing and transmitting is always going to work with low-level storage units like bytes, so your string will need to be converted to that first. But string manipulation is extremely common in programming, and I would think graphemes are the most useful unit here - i.e. as a programmer my preference would be for swift's behaviour.
[ Parent
| on HN ]
There are no comments on this comment yet.