2 ms·
I asked claude to build a system that involved parsing some dates and addresses and rather than using a library it wrote hundreds of lines of regexes and term l
by vrosas 10mo ago
I asked claude to build a system that involved parsing some dates and addresses and rather than using a library it wrote hundreds of lines of regexes and term lists ('st', 'street', 'dr', 'drive', 'ave', etc) to match every test case I gave it. Lesson learned.
- DANmode 10mo agoWhat was the lesson, to ask it to use a library, if that’s what you intend for your codebase? Assume LLMs and AI products are a rockstar junior dev until proven otherwise. Act accordingly!