Then he can modify it, extend it, refactor it, what ever.
But starting from scratch all that will happen is that he will, after a LOOONG time, end up with something almost as good Beautiful Soup, but with a much uglier code base.
And he will not learn more doing it that way. He will perhaps learn just as much, but not more.
Reinventing the wheel is stupid. If X is critical to your business get a wheel for X then own the damn wheel and X.
Joel himself started with an open source VPN project for Copilot.
And I'm guessing that's a pretty critical part of Joel's business.
His "I couldn't find libraries for C#" on the other hand may well be valid.
(* This is not a slam on Markdown, which I quite like, but John Gruber created it for himself and his uses as a writer with complete ownership over his servers.)
Admittedly, this is confusing because Jeff, be being an HTML cop, has put himself in the position of outlaw.
{{ foo|markdown:"safe" }}
Atwood says: If it's core to your business, don't go shopping, do the hard work and make it yourself.
Buffet says: America's seen worse and prospered in response. Go buy some America today.
It's debatable if Atwood's example is core to his business (I think it might be since it's the freakin' user interface for making comments), and the comments provide some helpful follow-up to Buffet's argument. Here's my synthesis of the two:
As a patriotic, peace-loving American I want to do the hard work and bring my passion and vision to a business that will make our economy more efficient and save folks money. I'll do that in the area of my expertise, technology. Everywhere else, where I have the money I'll invest in the companies that can and will rebuild America.
That's the investment criteria, personal and financial, that I believe Atwood and Buffet are driving at. Of course, it doesn't just apply to Americans, it's probably just more obvious to those folks living outside of our parochial bubble ;)
I think.
Nice Feynman quote in there, though.
Let me know if I got this straight, Markdown doesn't have it's own HTML sanitation mechanism, so Stack Overflow is rolling their own general HTML sanitation solution?
Why use Markdown in the first place? Is this a time when Markdown doesn't solve the problem Stack Overflow has? Look for another markup language?
Because it ignores HTML altogether, you need to have a separate sanitation process if you only want a subset of HTML to be usable.
The story is the same with most other simple markup languages, like Textile.
I think you can.