--nextPart2394903.gFSXQCYr1n Content-Type: text/plain; charset tf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Quoth Olie D.: > One of the problems with Ruby being so popular is that any google search > with "Ruby tutorial" or similar turns up about 8-bazillion pages, and > they all want you to dive right in to see how easy everything is. > > ...Which is really cool -- BUT! > > I'm having trouble groking the difference between foo, @foo, :foo, > #{foo}, [foo] {:#[foo]} (ok, I made that one up), etc. About the only > one I feel like I understand is $foo -- but how often am I going to use > *THAT*?! (Hint: very-nearly "never.") > > (Heh. $ means "global", right? I haven't used a global var in the most > recent 15 yrs of programming...) > > (Ok, and I sort-of get :foo, but not well enough to describe it, which > means "not really.") > > So, anyway... don't TELL me the difference (well, you can if you want) > -- what I'm REALLY asking is: what is a good reference that describes > all of these things, and how they're different? > > Thanks! http://www.zenspider.com/Languages/Ruby/QuickRef.html -- Konrad Meyer <konrad / tylerc.org> http://konrad.sobertillnoon.com/ --nextPart2394903.gFSXQCYr1n Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHBY2pCHB0oCiR2cwRAlpvAJ4xHGV9aBvUf3zcj7uWLueByzNdXwCePRF4 EtpNx3wk0rCouHpNlBbTGaU QM -----END PGP SIGNATURE----- --nextPart2394903.gFSXQCYr1n--