From: "Zachary P. Landau" Date: 2004-04-22T07:24:46+09:00 Subject: Re: Is Ruby is better than PHP ... --Uu2n37VG4rOBDVuR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 22, 2004 at 07:04:07AM +0900, Chris Dutton wrote: > Zachary P. Landau wrote: > >I think one thing people like about PHP is it comes with a lot of > >built-in functions for dealing with Web-related problems. It might be > >an interesting project for someone to make a list of common PHP > >functions used in web developments, with their Ruby equivalent > >(including what library it comes from).=20 >=20 > Or even going a step farther, create a module that's nothing but=20 > wrappers around those methods/classes. >=20 > require "php-transition" >=20 > plain =3D base64_decode(source) > # actually is: > # plain =3D Base64::decode64(source) >=20 > Though I have a feeling that having both PHP and Ruby targetting Parrot= =20 > would make this significantly easier, as long as the PHP functions are=20 > implemented in a modular way. As helpful as that may be to people, one of PHPs major problems (as someone mentioned) is namespaces. I would hate to bring that over to Ruby. It would be better to teach people to do it properly. -- Zachary P. Landau GPG: gpg --recv-key 0x24E5AD99 | http://kapheine.hypa.net/kapheine.asc --Uu2n37VG4rOBDVuR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAhvOoCwWyMCTlrZkRAnJ6AJ9OWDCvlssTR9h4QByWXqhQ3TCf8QCfTkrs 7AFC/hnDaTpTsSm0wohxIls= =xHhD -----END PGP SIGNATURE----- --Uu2n37VG4rOBDVuR--