Hacker News new | ask | show | jobs
by drw85 1408 days ago
Isn't this kind of a "point of view" thing? Backspace does add a space backwards. If there was a character there, it gets replaced with a space. :D
1 comments

That's not true though. The remainder of the text buffer is shifted. It really is a deletion and not an addition.
I mean, that's true if you think of a space as exclusively a character. In the physical meaning of the word, what exists in place of the original character is now an empty 'space'. In some pedantic sense you have truly added space where there was once none.
Consider the behaviour before or after either newlines in plaintext or paragraph ends in word processors. Also soft wrapping. It is truly a deletion now.