logoalt Hacker News

breadzeppelin__yesterday at 6:38 PM2 repliesview on HN

I've been working on generating a large code base for the last couple of weeks. Finally got around to generating a sort of code-duplication report and have spent the last week just having it de-duplicating logic that had been strewn all over the place (eg 11 different functions all doing date math to add x days to a date). dozens of items that had each been similar functions duplicated numerous times. crazy. (opus-5-utracode)


Replies

vatsachakyesterday at 11:23 PM

LLMs love duplicating logic. Unfortunately they are not formal systems so we actually have to read their output

greazyyesterday at 7:26 PM

Can LLMs not do this for you? Or would they go too far?

show 2 replies