As usual, you can find the transcript below (or you can click the image above):
I thought you were asking for comments, so I commented. I think the view that substring in Java has a “quirk” because uses the [a, b[ convention for intervals is questionable.
That “semi-open interval” is in my opinion the correct approach (may be on par or second only to a start/size approach). A “boundary included” [a, b] would instead be worse for many reasons.
Java has no “quirk” here: it’s the correct thing to do (and please note that I’m surely NOT a Java fan, at all).
It’s moments like these where I have to ask myself: how did I get here? It’s like talking to a brick wall.
If you came from the Wall of Shame, here are links to the previous and next comments. Also, here’s a link back to the Wall of Shame.