[Catalyst] Alien::Dojo uses regexes to parse HTML, so what?

Dominique Quatravaux dom at idealx.com
Mon May 29 19:23:45 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel McBrearty wrote:

> Why not write your own damn parser

Uh, because I don't need to do that by any extent?

> or you could just do what software engineers have been advocating
> for decades

Well, *I am* a software engineer, and KISS (Keep It Simple, Stupid) is
among the things I advocate. I hear I'm not alone at that.

> That way you help yourself, by taking advantage of debugging that
> has already been done.

In the current instance (repeat: *in the current instance*), using an
HTML parser would just result in gratuitous bloat in Foo::Dojo's
tarball, maintenance headaches, or both. And as I argued in the other
email I don't expect an infinite stream of bugs to pour from that
regex thingy of mine, either.

TIMTOWTDI, remember?

- --
Dominique QUATRAVAUX                           Ingénieur senior
01 44 42 00 08                                 IDEALX

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEey4hMJAKAU3mjcsRAjXfAKCie6VjmEMICaq3VwWLd79sID5gbwCdFp1l
PvYE2jbICKT1HdmE9ikRKX8=
=DDw4
-----END PGP SIGNATURE-----





More information about the Catalyst mailing list