the trailboss abuses his CodeRanch power for his other stuff (power corrupts. absolute power corrupts absolutely is kinda neat!)
permaculture light bulbs permaculture electric heat permaculture cast iron permaculture wood burning stove permaculture solar food dehydrators
The moose likes Meaningless Drivel and the fly likes standard emoticon usage - a query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "standard emoticon usage - a query" Watch "standard emoticon usage - a query" New topic
Author

standard emoticon usage - a query

Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5
I often find myself ending a parenthetical phrase with an emoticon, and then I don't know how to close the parens. Is there a standard for this? (like this :-) ) ( or this :-) (or this :-) ) ??


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Alan Wanwierd
Ranch Hand

Joined: Jun 30, 2004
Posts: 624
(like this :-) )


There are many message boards (including this one) where emoticons will automaticlaly be converted from your text into a nice gif - In which case surely it makes sense for you to close your outer brackets resulting in:

(like this )
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9047
    
  10
I don't see any difference between #1 and #3, but either one looks ok to me.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Stuart Ash
Ranch Hand

Joined: Oct 07, 2005
Posts: 637
According to H W Fowler's The King's English, II Edition, Part I, Chapter III Airs and Graces, Section "Conveying that Sentiment",



The arrangement of the emoticons depends, in large part, whither the writing is intended to be published, and how the final form of the text would manifest. If there be a conversion, an automatic one by means of certain computing functions, of the emoticonal parenthetical expressions, into little images representing them, one may include, consciously, the closing parenthesis, in addition to the one intended to be taken up by the image-converter. Else, a single closing parenthesis would suffice.




These are the two possibilities you spoke about.



ASCII silly question, Get a silly ANSI.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
That Fowler was just way ahead of his time, wasn't he? Who else would have thought to write about emoticons in 1908?


"I'm not back." - Bill Harding, Twister
Stuart Ash
Ranch Hand

Joined: Oct 07, 2005
Posts: 637
Oh yes, Fowlers tend to be futuristic. Take a look at our own Martin, for example
Svend Rost
Ranch Hand

Joined: Oct 23, 2002
Posts: 904
I like my posts to be CFG's, so I'd say #1

S -> lParen S rParen | smiley
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5


I certainly agree that if a graphic is provided then (like this ) is fine!

So about my first example, I meant to have an extra space in one of the samples so:

(example 1 :-)) // the double chin
(example 2 :-) ) // the extra space

This is the choice that perplexes me!

It does seem we all agree that:

(example 3 :-) // the unclosed

is just gauche.
Svend Rost
Ranch Hand

Joined: Oct 23, 2002
Posts: 904
Originally posted by Bert Bates:

(example 1 :-)) // the double chin
(example 2 :-) ) // the extra space


Example two - with the extra space.
John Dunn
slicker
Ranch Hand

Joined: Jan 30, 2003
Posts: 1108
Duece (coup? :-) )


"No one appreciates the very special genius of your conversation as the dog does."
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
[BB]:

(example 1 :-)) // the double chin
(example 2 :-) ) // the extra space

This is the choice that perplexes me!


Of the two, I'd prefer the second. But really, if there's no graphic on the system in question, I'd prefer

(example 3) :-)

It may be a little less logically sound (since the smily applies to the text in parens) but I think it's easier to read. Especially if the text in parens is longer.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30753
    
156

I usually just use a different kind of parenthesis to make things clearer. Granted, they aren't really parens, but it is still clear what is going on. I agree with everyone above that the space helps too.

And we are techies. We can come up with many kinds of parens/surrounding marks

[example 3 :-) ]


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Arun Kumarr
Ranch Hand

Joined: May 16, 2005
Posts: 513

and what if your smiley is that last thing in your sentence.

like,

Thanks. :-).

I don't have a mole on my chin.


If you are not laughing at yourself, then you just didn't get the joke.
 
wood burning stoves
 
subject: standard emoticon usage - a query