I started doing a bit of research, though I don't think I have a clear answer.
Even tracing the history of the phrase is a bit confusing: Prashanth Chandreskar claimed that:
for a long time we have said that our mission is to "help developers write the script of the future."
Stack Overflow doesn't seem to have, as a company, been saying this publicly in any written form, much further back than about mid 2019, as far as I can see.
However, there are a number of YouTube videos of Joel Spolsky talking, frequently with a title like "Writing the script of the future" or "How to write the script for the future", dating from this keynote in December 2016.
Digging into one, we see Spolsky explaining what he means:
A programmer at Uber can make a change to the user interface of Uber and have much more of an impact on the future of the world than the legislators can by trying to pass laws.
And in fact, all that code that's getting written, and getting run, when it runs, those are actually probably 90% of really the laws in determining how things are gonna work. And sometimes it's very small things and sometimes it's very large things, ...
In a lot of cases, code is sort of going to define the future. By definition, when programmers write a script, when they write a line of code, that code will run in the future, and because the code that we're running today is so entwined with our lives, it really makes a big impact on the future how that thing gets written.
So, confusingly it seems he meant "script" in the "JavaScript" sense, but overall his message is "the code that programmers write is hugely influential on society".
It looks like the transformation of this phrase into a mission statement may have begun with the VP of marketing in 2017. In this talk (May 2017) she says (11:17):
There are really just three stories that I want everyone at Stack Overflow to tell, all day, every day. One: "Developers are writing the script for the future". There's that Marc Andreessen quote that software is eating the world. Software is everywhere and the world is increasingly dependent on developers. So, people should understand that. That is the way the world is headed. Andreessen-Horowitz's entire investment philosophy is almost based on the fact that everyone one day is going to be a developer.
I don't know that that adds a lot more clarity, but I notice that she says "script for the future".
So, I think my understanding is:
- "writing the script of the future" means "the code that [some] developers write now has a big impact on how society functions in the future".
- Therefore, SO is claiming that helping developers write code more efficiently somehow translates into improving society. (I think there is a huge logical disconnect here, since SO makes no attempt to influence how that code is written, only that it is done quickly and with less hair-pulling.)
- I think there is a genuine muddied confusion around the two meanings of "script" that has gotten worse as the phrase has journeyed from Spolsky's original keynote through a VP of marketing and now, boosted by the new CEO, to become the company's official mission statement.
(Some time later...) I kind of think what happened here is Joel came up with a cute, somewhat cryptic pun that worked well as a title for talks - because he then has the opportunity to explain it. It became part of internal SO culture somehow. But then a mistake was made in elevating it to marketing slogan, and then finally mission statement. That's just not the place for cryptic, ambiguous language or wordplay. It's the place for clarity, succinctness and precision.
[Update, Feb 2022]
It looks like SO has stopped using this phrase. The phrase at the front of stackoverflow.co is now "Empowering the world to develop technology through collective knowledge."
The phrase was tweeted in December 2020 but I don't see it used much after that.