Re: We know what you need, and we'll push it down your throat.

[prev] [thread] [next] [lurker] [Date index for 2006/12/22]

From: Abigail
Subject: Re: We know what you need, and we'll push it down your throat.
Date: 22:47 on 22 Dec 2006
--f6M9UaX53EEZorp0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 22, 2006 at 05:15:15PM +0000, Smylers wrote:
> Abigail writes:
>=20
> > On Fri, Dec 22, 2006 at 05:18:45PM +0100, Juerd wrote:
> >=20
> > > But the following set of wishes clashes heavily:
> > >=20
> > > - () can be used for grouping (to override precedence)
> > > - () can be used to enclose subroutine arguments
> > > - subroutines can also be used without ()
> >=20
> > Perl5 had no problem coping with those rules
>=20
> Yes it does.  Perl 5 suffers that this does what many people expect:
>=20
>   print 6 * (3 + 4);
>=20
> but this does not:
>=20
>   print (3 + 4) * 6;
>=20
> It is treated as:
>=20
>   (print 3 + 4) * 6;
>=20
> That's hateful!

No, it's not. If you had it your way,

    print sqrt (9) + sqrt (49)

would print '4' and not '10'. I doubt many people would expect it to print =
4.



Abigail

--f6M9UaX53EEZorp0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFFjGBmBOh7Ggo6rasRAgw2AKCxVKECftgTKnu5OOwOsoWpRXVvIgCdF6yw
8InwTTD0ciP4xFmR7QruNQ0=
=OBUZ
-----END PGP SIGNATURE-----

--f6M9UaX53EEZorp0--
There's stuff above here

Generated at 03:02 on 01 Jan 2007 by mariachi 0.52