Am I the only one in the world who doesn't think that there's this huge gulf between cooking and baking? It's very common for me to see people say stuff like "Cooking is art, baking is math", and how it's easy to make substitutions when cooking, but you can't change a single thing in baking or the whole recipe will be ruined!
Bitch, please. Cookies are easier to make tasty than dried beans are. I have absolutely made cookies by the seat of my pants and come out with something edible, if a little odd, but I have followed the directions to the letter with dried beans and still had a gritty, bland mess. If you add in mini marshmallows to your chocolate chip cookies, they'll still bake up just fine. If you add tomatoes to your beans at the start of the cooking process they may never soften, and stay hard even after hours and hours of boiling. There is no hard and fast rule that says "baking substitutions are done at your own peril, but you can experiment as much as you want when you're cooking!"
It takes more experience, knowledge, and skill to cook stir fry and have all the vegetables come out evenly done than it does to make a pound cake. I don't care if you can mess around more with the ingredient amounts for a stir fry, you still have to know a fucking ton about vegetables in order to prep them, and then cook them, in order for them to all come together. Follow the recipe for stir fry to the letter, and you can still end up with undercooked and overcooked veggies in the same dish, because there's a lot of knowledge outside of the recipe that you need for cooking. If you follow the recipe for pound cake to the letter, you'll end up with a decent pound cake.
If you know an equal amount about how flour, butter, eggs, etc work in baking as you do about how fast vegetables cook when cut to different sizes and how to judge the heat of a pan? Then you absolutely can play it fast and loose with a basic cake recipe. I've made a vanilla cake with no recipe using whipped aquafaba as an egg subtitute, and whole wheat flour to boot, and it came out dense but tasty, and I like my cake dense, so that's what I'd been going for.
There's a huge overlap between baking and cooking, with no hard line between them. I'm fucking sick of people treating baking as this big scary rules heavy thing for people who like to follow set formulas, while cooking is treated as this easy breezy thing for artists who can't be tied down by rules.