Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


What 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!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: