Eemadges
Random (1)      Book     Top10     Animations     Index      
Tag: Strings
Related Tags: computer | computer languages | bubbles | antacid | programming languages | symbols | string
Just this lonely eemadge under this tag.

Lbranch
Tags:
Add a tag
 

Symbols are words that look just like variables. Again, they may contain letters, digits, or underscores. But they start with a colon.

:a, :b, or :ponce_de_leon are examples.

Symbols are lightweight strings. Usually, symbols are used in situations where you need a string but you won’t be printing it to the screen.

You could say a symbol is a bit easier on the computer. It’s like an antacid. The colon indicates the bubbles trickling up from your computer’s stomach as it digests the symbol. Ah. Sweet, sweet relief.

from Why's Poignant Guide to Ruby (webpage)
by Why the lucky stiff
#311
description
history
edit
Rbranch
A * A
black & white

PrintPrint
DeliciousBookmark

Created 17/Jul/05.
Viewed 1559 times.

Comments

eliazar says:
Well yes, this is sort of an in-joke, since you have to be a programmer (and perhaps even a Ruby programmer) to get it. But isn't it an original and vivid description?
Posted on 26/Jun/05. Trash

Add your comment


   Name:
   AntiSpammer:



Add a description     Recently Revised     Blog     About     Contact     Links     Help