From: Chad Perrin Date: 2009-02-12T03:57:28+09:00 Subject: Re: Ruby vs Perl performance --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 11, 2009 at 03:42:34AM +0900, David Masover wrote: > Robert Klemme wrote: > > > >Just moving one method over is an ad > >hoc solution which - when applied with only moderate frequency - will > >give unreadable and thus unmaintainable code very soon. >=20 > Again, I'm not seeing how this has any more potential for disaster than= =20 > duck typing or metaprogramming. Those have as much capacity for misuse. They also both have great capacity for brilliant use, which is really the point. If I wanted a language that spent all its time holding my hand and "protecting" me from myself, I'd use Python -- not Perl and Ruby. I have to wonder whether Robert's preferences for language design might not be better suited to Python. Note that I'm not saying anything bad about Python, per se. It's just that my programming preferences are not well suited to its "one right way to do it" philosophy. >=20 > I tend not to build things that don't rely on at least a few external=20 > modules. I would rather have a language flexible enough to build things= =20 > like this as an external library, in the language itself, than one that= =20 > has everything built in. >=20 > In fact, that's one complaint about Perl (or PHP) -- they both have a=20 > lot built in, and a lot polluting the root namespace, for things that=20 > may have once been very common tasks. I believe Perl has finally moved=20 > the report syntax into a different module -- keep in mind, Perl is=20 > called practical extraction and _report_ language, but they decided=20 > reports no longer belong in the core language. I know I'd be (slightly)= =20 > happier with PHP if templating wasn't a part of the core language. Really? Without templating, I'm not sure there's a *point* to PHP. It's basically Perl with a lot of the good stuff stripped out, and templating added into the core language. In fact, with the growing ease of Ruby use for templating (via eruby, et cetera), PHP is rapidly becoming obsolete in my world. --=20 Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Doug Linder: "A good programmer is someone who always looks both ways before crossing a one-way street." --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmTH3EACgkQ9mn/Pj01uKWT5gCfV0bYQ75K4+0MmDktTi3532jf R0YAmwey62Bc+4Efq7dDmsRJ7+2kq3Md =d3Tm -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--