This is how I got my commercial pilot's license, and I'm a senior software engineer.
It just "clicked" with my brain to follow specific procedures ("algorithms") for absolutely everything. Checklists, strict rules, "flows", handling emergencies. It all felt natural to me.
They will throw random stuff at you during checkrides. Pull the power back on one of the engines right after takeoff saying it failed, fail instruments that you were using to navigate, blindfold you ("foggles") and put you almost upside down and then say "recover!".
But you have everything so ingrained in your mind by that point that it's almost robotic. You just look at the inputs (almost upside down, engine #2 is gone, no attitude indicator, whatever it is) and know what the output is supposed to be (roll to unload Gs, lower the nose, full power, check the standby AI, etc).
I happen to work well when there are strict rules and procedures. If this, then that.