I love how LLMs have got the attention of proper programmers such that the Python mess is getting cleaned up.
replies(2):
This is totally the right way. Make it work, then make it right, then make it fast.
Yes. When you have to try out dozens of research ideas, most of which won't pan out, then you stop writing engineering-style code and switch to hacker mode. Why make it nice when you could be trying 2 more ideas in the meantime. Most of research code it is going to the trash anyway.