Automation Should Be Like Iron Man, Not Ultron
Good code comments can help this.  But as we all know the more you work on code the more useless comment blocks you're left with until in the end the comments are meaningless and redundant in your sphagettic coded mess.Solution: Descriptive Variable Names.  You'll always have variables, they're a foundation of any code base, and by naming them well they flow through the code describing what's happenening with 0 extra work needed.With good variable names you can then pepper the code with good meaningful one line comments when needed.