Hacker News new | ask | show | jobs
by tjoff 24 days ago
I get the desire to filter that out, not sure whether I'd classify it as whitespace though.
1 comments

True, rendering out of bounds doesn't make something actually whitespace, it just means it could look like whitespace. Though, consider the case where someone is looking to detect if a character is whitespace, when what they actually want is to detect if it could look like whitespace. That's where context comes into play. Irrelevant if it's not about the looks, but potentially relevant if it is, hence why I figured I'd leave a quick comment about it here.