I like the new @username feature of comments. However, what syntax do I use when the username has spaces (or perhaps other weird characters) in it?
Based on a comment in the blog post, I implemented a way to handle this. The situation:
This is fine most of the time, but it is problematic for users with both spaces in their names and either very short or very common first names like "Al Smith".
Now, spaces are removed from the display name for the purpose of matching. If you need to refer to "Al Smith" then @als will work -- or @alsmith.
(Matches are done in reverse chronological order so you only need the minimum 3 characters necessary to match the displayname of the most recent comment under yours -- the matching process stops as soon as a match is made.)
I just saw in What is the relevance of “ @ ” in comments? this info:
I guess the answer is "you can" and it "mostly works the way you want it to anyway" and that's good enough for me!