Link Details

Link 285369 thumbnail
User 209500 avatar

By rlamarch
via jgc.org
Published: Nov 11 2009 / 04:01

I got into a spat with Eric Raymond the other day about some code he's written called ForgePlucker. I took a look at the source code and posted saying it looks like a total hack job by a poor programmer. Raymond replied by posting a blog entry in which he called me a poor fool and snotty kid. The problem with writing code like ForgePlucker is maintenance. It's got all sorts of little assumptions and special cases. A much better approach is to use an HTML parser than knows all about the foibles of real HTML. Here's the equivalent function written using the BeautifulSoup parser:
  • 10
  • 0
  • 881
  • 245

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)