Search code examples
programming-languagesemoticons

What emoticons can you put into class names in your language?


I've just had a discussion with a developer about naming classes in C#. My final throw away line was, "Let's not put any emoticons in our class names."

I can't think of a way you could put emoticons in C# class names, but I haven't thought too hard about it. Is this possible?

Does any programming language allow it? What would be the best/worst language to be able to perform this in?

Update: The Scheme answer bests answers my question. It was a quick idea after a quick discussion so I'm going to accept after a short amount of time and then move on with my life. Thanks for the responses.


Solution

  • For example in Scheme you have the flexibility to include symbols like :, -, / ... in the names,

    (define (:-D x)
      (+ x 1))
    ...
    
    (:-D 9)
    output: 10