I think there's kinda a problem wiith defining one or the other in that most people ae some kind of mix of both, you'll very rarely have someone who's 100% no thoughts, empty head, nothing even thought of before I write, or 100% everything plotted out and character sheets to the detail and world to the detail and scene boards. Most people are somewhere on the spectrum.
I like to write like a road trip, I know my starting point and I know where I'm going and who I'm going with, and I know the stopping points along the way, but the route is a bit more unknonwn.
That said, there's a big difference between serial fiction, which lends itself to looser way of planning in many regrards but can easily become rambling and unfocused, or traditional published books who (expecailly in more traditional publishing spaces) have an editor to help you smooth things out. Of course, this doesn't stop people from having either planned a stupidly stiff book where the plan is more important than feeling natural and enjoyable, or rambling plot holes and corners. But everytime I see a professional writer or advice giver say "planning down to the smallest detail bc I tried pantsing once and wrote myself into a corner" I'm like did you not... do a second draft to work that out??? Or get betas/editors to help with that? Same with planning.
Like, these things are only really a problem if you're publishing your first draft. The problems with both style should be smoothed out in redrafting and editoing. And that's a first draft. They're supposed to be awful. And tbh, when it comes to first drafts, especailly if you're not publishing serially as you go, whatever gets it done is best.