Great post!
I just started my journey here in steemit and am glad there are posts like this.
I am currently learning programming and I find Functional Programming and making your code more declarative helped me on some of the things you mentioned here.
Thank you and welcome to SteemIt.
It is another way of thinking in functional languages that forces you (in a good way) to structure the code differently.