News for hackers. Stuff that matters.
Re:Ask HN: What is the thing you've build you regret the most? by pashariger on Saturday November 19, 2022 @07:01PM (#33676428)
An xml parser.
Re:Ask HN: What is the thing you've build you regret the most? by thehappypm on Saturday November 19, 2022 @08:42PM (#33677183)
Did you use regex?
Re:Ask HN: What is the thing you've build you regret the most? by labria on Saturday November 19, 2022 @09:14PM (#33677402)
Nah, that’s for HTML
Re:Ask HN: What is the thing you've build you regret the most? by pashariger on Sunday November 20, 2022 @01:57AM (#33678939)
And... I also used another xml parsing library, because we "needed" our own. (context: first programming job at a startup in college)
Re:Ask HN: What is the thing you've build you regret the most? by dr_barnowl on Tuesday November 22, 2022 @04:26AM (#33703781)
I did a pull-stylee XML parser once.

In VB.

VB ..... 3

It didn't care (much) about well-formed documents.

You could mix it with snippets of RTF. We did. I used it to parse report templates out of hybrid RTF/XML files.

Not really morally evil though.