logoalt Hacker News

mghackerladyyesterday at 7:57 PM7 repliesview on HN

unrelated but I've never understood how to put a smiley at the end of parenthetical sentences (which comes up surprisingly often for me since I use smileys a lot and also like using parentheses). Just the smiley as an end parentheses (like this :) feels off but adding another parentheses (like this :) ) makes it look like it should be nested which causes problems since I also tend to nest parenthetical sentences (like (this)).

Yes I enjoy lisp, how could you tell


Replies

sevensoryesterday at 9:15 PM

The answer is obviously to balance your smiley faces and wrap the entire statement in the smiley face sentiment. ((: Like this :))

show 3 replies
rpastuszakyesterday at 8:44 PM

Your comment made me realise that there's logic to this (like this :), since in HTML we can:

    <li> do this
    <li> and this
instead of: <li> ... </li>

and <img alt='this'> instead of <img ... />

You might like Lisp, but what you're saying reminds me of the late 00s/early 2010s xHTML2 vs. HTML5 debate :)

show 2 replies
tuckermanyesterday at 8:49 PM

Post C++11 you can just do (like this:)), no extra space needed before the last parenthesis.

show 1 reply
kruffalonyesterday at 8:19 PM

I tend to rephrase myself so I dont end a statement inside a parenthesis with a smiley.

It's one of those things I think are worth putting some extra effort into, I'm glad to see at least one other person giving it some thought. Thx <3

tuetuopayyesterday at 9:31 PM

Use dashes and the problem goes away! Well, you gain the LLM witch-hunt, but heh, no free lunch.

giancarlostoroyesterday at 8:48 PM

I have the same problem. I just ditch the smiley face. :)

show 1 reply
MarsIronPIyesterday at 9:47 PM

The relevant XKCD: https://xkcd.com/541