From: Konrad Meyer Date: 2007-12-09T10:44:36+09:00 Subject: Re: How much would variable declarations in Ruby make you wince? --nextPart5679311.XI4AI0WLzS Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Quoth Just Another Victim of the Ambient Morality: > A solution to my problem would be to require variable declarations.=20 > Something like the "my" keyword of a strict PERL script. Ruby would=20 > probably not use "my," despite its PERL roots. Maybe "var?" >=20 >=20 > var list =3D create_useful_list >=20 > if should_modify_list(list) > # A compile time error will occur here... > # ...after 1.9 is released... > liist =3D modify_list(list) > end Lots of hardcore wincing going on in my spleen now. Regards, =2D-=20 Konrad Meyer http://konrad.sobertillnoon.com/ --nextPart5679311.XI4AI0WLzS 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) iD8DBQBHW0iDCHB0oCiR2cwRAp4jAKCKCbsPF7bV1L/JwtEsC5qL656xbQCeKN1I Hqv4D9VygznB6QtAd7KdxzE= =R2e6 -----END PGP SIGNATURE----- --nextPart5679311.XI4AI0WLzS--