Remix.run Logo
greazy 5 hours ago

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

nomel 5 hours ago | parent | next [-]

No, the problem is they're still really dumb, and lack the ability to make logical connections that are obvious to us. "should I walk or drive to the carwash" being a very recent example of the larger problem.

greazy an hour ago | parent [-]

But they are very good at identifying patterns though. This task requires little logic IMO. So why not leverage LLM to perform redundancy analysis?

chrz 5 hours ago | parent | prev [-]

They add and add new code to the point when adding more is going to become very messy and then spagetti

greazy an hour ago | parent [-]

What I was suggesting is to ask the LLM to compare function usage across files to identify overlap/redundancy.

The idea is to use the LLM to analyse the code base first before taking any action.

I think I'm suggesting a centaur approach.