Paul_KD7HB:
But that takes planning, doesn't it?
Who said it doesn't take planning? It sure wasn't me. You're also arguing against a point I didn't make and against assumptions that aren't there.
I'm not assuming OP is actually in charge of developing code for banks or is part of a team that includes senior devs. Nor am I suggesting OP use un-tested code. But the idea of letting a codebase drown in technical debt because "it works today" is dangerous in my experience. I know what it's like to inherent a software project like that from devs who shared your views...
Sure, in a team working on a software app code needs to be reviewed and tested - in fact that was half of my argument in the first place (don't discourage code reviews!). Yes, on real projects there needs to be a CI/CD process that must be completed before merging new code and circumventing those processes are dangerous. But do you really think a hobby Arduinoist has a CI/CD process, senior devs, or a project that could threaten life, limb, or treasure?
No. The normal hobbyist has none of these, so there's no process to circumnavigate, no senior devs to code review (although if a forum member can do the review, it's a big plus), and if the project has a software malfunction during operation, it usually means some green LED failed to light when a button on an iPhone app was pressed.
I also never said thoroughly testing updated code wasn't necessary, because it is. I figured it went without saying.
Also, I can promise you that the average hobbyist codebase is complete dog **** and needs refactoring in some way. When said hobbyist does refactor and test their codebase, they will learn a ton and make their code easier to understand, easier to maintain, and more robust in the long run.
Don't discourage beginners from expanding their knowledge and improving their code by telling others they shouldn't seek reviews from more experienced software devs!
OP, you can post your code and we'll look at it.