This made me start thinking about my own practices, and what processes I could adopt to improve. What suggestions do you have where I can adopt the scientific method to my daily coding, research and software architecting work?
Assume you write a function using all the tricks in the book. It's fast(er) than the proposed solution on the PR review, but unreadable. If merged, future team members might have a hard time understanding what's happening. If not merged, the code will be slower (milliseconds x thousands of requests).
Which way to go? :-)
I'd recommend reading Zen and the Art of Motorcycle Maintenance though. It covers exactly this topic, the advantages of the scientific method, and where philosophical methods can work better.
It's immensely difficult to get better in all directions. But if you focus on what you want to get better at, then it's easy to find resources to help.