Claude Pache (2015-07-21T07:02:46.000Z)
> Le 21 juil. 2015 à 08:28, Jordan Harband <ljharb at gmail.com> a écrit :
> 
> On the contrary -"left" always begins at index 0 - "start" is sometimes index 0, sometimes index (length - 1).

Counter-example: ES6 methods `String#startsWith` and `String#endsWith` are named correctly.

> I think "left" and "right" are the right names; "start" and "end" would require unicode bidirectional stuff.

No, because characters in Unicode strings are ordered logically, not visually.

—Claude
d at domenic.me (2015-07-25T02:57:38.677Z)
> Le 21 juil. 2015 à 08:28, Jordan Harband <ljharb at gmail.com> a écrit :
> 
> On the contrary -"left" always begins at index 0 - "start" is sometimes index 0, sometimes index (length - 1).

Counter-example: ES6 methods `String#startsWith` and `String#endsWith` are named correctly.

> I think "left" and "right" are the right names; "start" and "end" would require unicode bidirectional stuff.

No, because characters in Unicode strings are ordered logically, not visually.