Emoticon Code

Hmm. These emoticons are valid ruby code (symbols):

:smiley:
:stuck_out_tongue:
:stuck_out_tongue:
:[]

Can anyone think of more emoticons that I could use in my code?

Unfortunately things like

:confused:

or

:\

donโ€™t seem to be valid at all.

With the new -> syntax, perhaps I can even manage to make happy smiling
faces in ruby do something useful.

On Sun, Mar 25, 2012 at 6:31 AM, Marc H. [email protected]
wrote:

Hmm. These emoticons are valid ruby code (symbols):

:smiley:
:stuck_out_tongue:
:stuck_out_tongue:
:[]

Can anyone think of more emoticons that I could use in my code?

I like and have used :* a few times.

These also work:

:< (lt)
:> (gt)
:! (bang)
:` (backtick)
:_ (underscore)
:? (question mark)
:ยฑ (plus-minus)

If one uses utf-8 and code points above the basic latin set, things
like these would work too:

:๏นš (small right parenthesis, U+FE5A)
:๏นœ (small right curly bracket, U+FE5C)

Regards,
Ammar

Argh, the autorejector rejected this the first time; letโ€™s see if it
works this time. :stuck_out_tongue:

Hmm. These emoticons are valid ruby code (symbols):

:smiley:
:stuck_out_tongue:
:stuck_out_tongue:
:[]

Can anyone think of more emoticons that I could use in my code?

See this thread I started recently:

http://www.ruby-forum.com/topic/3749437

-Dave

Marc H. wrote in post #1053100:

Can anyone think of more emoticons that I could use in my code?

Thereโ€™s the beardy one, :[]=

(I have actually used this one for real)

:confused: works, though it is easily confused with this :, which does not.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs