HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

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
  • 1945
  • 1

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)