>one of the writers mentions that they would insert superfluous details into the script (i.e names of people and places) so that they could tie future story developments back to earlier episodes and seasons, making it seem to the viewer like the entirety of the show had been worked out from the start, and that the writers had been dropping hints along the way.
I always wondered if writers do that stuff. Even with novels, I wonder if they go back and add details in or plan from them way back at the start.
> I wonder if they go back and add details in or plan from them way back at the start.
I heard a rumor that what Agatha Christie (and perhaps other mystery writers) would do is to write the entire story with no perpetrator in mind; then at the end, see which character seemed the least likely suspect, and then go back and "frame" that person.
On a slightly different note, when I've played the game "Once Upon a Time", which involves structured competitive / collaborative storytelling in a group, one of the hints I always give is to never specify anything unless you need to. If you don't specify what color the sword was, or what town he grew up in, or where the horse came from, then it's easy for later storytellers to incorporate that into their story. (Since although the goal of each player is to bend the story to their own ending, the purpose of the game as a whole is to tell a good story and have a good time. It's more fun to have a satisfying story someone else ended than a stilted, unsatisfying story that you ended yourself.)
>wondered if writers do that stuff
planners vs pantsers, it depends of their writing style.
Also, even some "pantsers" can get away with seeming to have had a plan all along if they write the project out of order from how the reader will read it/viewer will watch it. You can write the end first, no one can stop you (except maybe your editor because editing back together into the "right" order can be a chore).
(A bit harder to build a TV show that way, though not impossible; How I Met Your Mother almost pulled it off, depending on who you ask, for one instance.)
During Chris Claremont's 16 years on the X-Men this was his practice. He'd seed little details in his issues and then go back and flesh them out in a later issue if he felt like it, with the effect that it seemed like an organic whole.