-----BEGIN PGP SIGNED MESSAGE-----

Moin,

On Thursday 16 September 2004 23:37, Geoffrey Young wrote:
> hi paul :)
>
> I think this has come up before, but I'm not sure what the resolution
> was.
>
> I just came across (production) code that looks like this:
>
>   return 1 if $one == $two or return 0;

Just FYI:

I always wonder why someone would write such code. IMHO this is 
unmaintainable code. I might not be an Perl expert, but I wouldn't consider 
myself a beginner either, especially not at boolean logic. And still, my 
mind cannot grasp what this actually does - I would need to write it down 
on paper and trace it to actually understand it. And if you need to do that 
than the code in question is too complicated :)

But maybe I am just overworked and tired :)

Best wishes,

Tels

- -- 
 Signed on Thu Sep 16 23:45:49 2004 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 Kernel Panik is here! - http://ubersoft.net/kpanic/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBQUoJ/ncLPEOTuEwVAQH3nAf8D+7prPTiKlY02EEgaVOAnr6VTduTEW6y
l0nlR5778p5oVZo2hlMtBLci9oLvZVfNU8w61qOQf8LfiZmGA8dBJJdB9BEwi74o
dTkk5Z796s4Tqm7+JbsA0eD658b8ylm8wVAMypfR5SrxMNEjkXDTBs2EcqPs0DLK
2bu0LCBhM3VyjQCGkm8dYZ4TlXQW45SiQ9SJ+wY7fQQwxQ+3qgBvjCShrLZnqEaE
ewJ4qoJz76ASZHe2mNYl5dRrklIZNK+H8v4sI/fgLSCfYbPG+LD5FvEdU5wqREcs
5ED3AK/U7ejsJM+vJli4nwTTGg+HnKL2XzQkDRrCIPWFRItajgq9OA==
=c1UM
-----END PGP SIGNATURE-----

Reply via email to