Sounds very functional, testable, and clean. Sign me up.
Sounds very functional, testable, and clean. Sign me up.
I have a user prompt saved called clean code to make a pass through the changes and remove unused, DRY and refactor - literally the high points of uncle bob's Clean Code. It works shockingly well at taking AI code and making it somewhat maintainable.
https://gist.github.com/prostko/5cf33aba05680b722017fdc0937f...
After forcing myself over years to apply various OOP principles using multiple languages, I believe OOP has truly been the worst thing to happen to me personally as engineer. Now, I believe what you actually see is just an "aesthetics" issue, moreover it's purely learned aesthetics.
I'd argue writing functional code in C++ (which is multi-paradigm anyway), or Java, or Typescript is fine!