hey: how do you know if your urge to rework something in a programming project is just procrastination because of inherent difficulty or if it's because of an actual problem in your lang or framework or orm or whatever? I know some of it is experience and introspection, but idk any advice?
0 Boosts
0 Likes
@0x4d6165 I don’t think there’s any way to know for sure without both detailed knowledge of the specific problem and general experience with the technology. That’s the bad news. The good news is that I don’t think that necessarily matters when it comes to deciding whether you should try the rework anyway; what matters is what constraints you’re under. Is there an external deadline? The only way to learn how to build maintainable code is to try different ways of writing things and then seeing how they turn out. So, in the absence of external pressure, I’d recommend attempting the rework (in a separate branch, with automated tests, etc.) You’ll know whether it was a good idea or not after you’ve done it.