|
|
|
|
|
by indil
1381 days ago
|
|
>Why would your data structure make that easy to do? Reversing a string merely indicates the problem. There are many cases for operating on graphemes instead of code points. For example, deleting the previous grapheme in a text editor when pressing backspace/delete. I think most programmers assume they're dealing with graphemes when they're actually dealing with code points. See, for example, the rune type in Go. |
|