JavaScript, "We want a scripting language in our web pages."
TCL, "It should be easy to extend your scripting language in C."
SQL, "We need a standard way to talk to our databases."
PL/SQL, "We want to push complex logic into our databases."
BASIC, "We need an easy language for absolute beginners."
And so on.
But one historical comment. The ACTUAL problem that Ruby was created to fix was that Matz needed a scripting language that could handle Japanese text. People may adopt it now for different reasons, but that is not the historical inspiration.
Ruby natively supports multipleincompatible Japanese encodings, including Unicode and shift-JIS. This is a lot harder than just marking off a Unicode checkbox.
JavaScript, "We want a scripting language in our web pages."
TCL, "It should be easy to extend your scripting language in C."
SQL, "We need a standard way to talk to our databases."
PL/SQL, "We want to push complex logic into our databases."
BASIC, "We need an easy language for absolute beginners."
And so on.
But one historical comment. The ACTUAL problem that Ruby was created to fix was that Matz needed a scripting language that could handle Japanese text. People may adopt it now for different reasons, but that is not the historical inspiration.