A
Anders Höckersten
--=-qYJr1ki3wJSOCpLEDMiR
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Me and a friend realised earlier today that this is actually a legal
Ruby program:
foo(def foo(a=3Dnil)
puts "hello"
end)
foo
The fact that this works seems to be a side effect of Ruby's semantics
rather than an intended feature, but maybe it's actually useful to be
able to do this? I can't think of any (practical) use of it -
suggestions are welcome.
Regards,
Anders
--=-qYJr1ki3wJSOCpLEDMiR
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad
meddelandedel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQBDWAOo9vwv2G5xhTwRAgs/AKCi748fp4WJ4YNOrAQYdxqRJ57fTgCfbbo2
0NiBcZVUHmfY3W4S8XfGUPw=
=MMUk
-----END PGP SIGNATURE-----
--=-qYJr1ki3wJSOCpLEDMiR--
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Me and a friend realised earlier today that this is actually a legal
Ruby program:
foo(def foo(a=3Dnil)
puts "hello"
end)
foo
The fact that this works seems to be a side effect of Ruby's semantics
rather than an intended feature, but maybe it's actually useful to be
able to do this? I can't think of any (practical) use of it -
suggestions are welcome.
Regards,
Anders
--=-qYJr1ki3wJSOCpLEDMiR
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad
meddelandedel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQBDWAOo9vwv2G5xhTwRAgs/AKCi748fp4WJ4YNOrAQYdxqRJ57fTgCfbbo2
0NiBcZVUHmfY3W4S8XfGUPw=
=MMUk
-----END PGP SIGNATURE-----
--=-qYJr1ki3wJSOCpLEDMiR--