Armin’s post about Whitespace sensitivity
in Ruby piqued my interest. It points out that in Ruby,
is different than
foo  and that
is the same as
foo / bar but different than
So I wanted to learn more about Ruby, and looked at a bunch of tutorials, finally ending up at Mitch Fincher’s Ruby Tutorial with Code Samples, which had the right breezy pace with no, “a variable is like a box for your numbers” stuff in it.
But I had originally gotten to Mitch’s page from a Google search for ruby puts gets. If you try it, you’ll see that when you get to Mitch’s page, a small box appears near the top, saying,
Welcome. You seem to have come here from a search engine. Your search words (ruby puts gets) are highlighted on this page for your reading pleasure.
PS: about whitespace sensitivity: I’ve decided that phrase means a programming language needs tokens consisting of only whitespace in order to be parsed properly. Python and Ruby are whitespace-sensitive, and C is not, for example.