From: Konrad Meyer Date: 2007-10-05T10:04:47+09:00 Subject: Re: [n00b] Need a good reference for var-types/string-esc, etc. --nextPart2394903.gFSXQCYr1n Content-Type: text/plain; charset="utf-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. >=20 > ...Which is really cool -- BUT! >=20 > 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.") >=20 > (Heh. $ means "global", right? I haven't used a global var in the most > recent 15 yrs of programming...) >=20 > (Ok, and I sort-of get :foo, but not well enough to describe it, which > means "not really.") >=20 > 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? >=20 > Thanks! http://www.zenspider.com/Languages/Ruby/QuickRef.html =2D-=20 Konrad Meyer 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= =hKQM -----END PGP SIGNATURE----- --nextPart2394903.gFSXQCYr1n--