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

I have in my codebase several really long django views files (3k lines!). They were written in a poor fashion with many nested if statements for parsing and error handling.

On a one by one basis I can use VSCode github copilot to rewrite each one the way I want it.

What I want to do is iterate through all functions in the files and do each one of them.

I know we are getting there, but does anybody know how that can be done right now?



Give Claude 3 Opus a shot maybe.

One of the reasons I have stayed well clear of the IDE tools is they force me to use their own model.

While they might be convenient it means I can't switch to whatever the SOTA model of the day is at the drop of a hat.

Opus is awesome and well worth a shot.


Have you tried cursor.sh Not affiliated with them but it's actually pretty incredible for long context




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

Search: