Swift is doing quite well, and it didn’t need Windows support to drive adoption.
Swift is doing quite well, and it didn’t need Windows support to drive adoption.
In my mind, if I'm not developing for the iPhone, why would I use Swift?
If I need to write a CLI app, why, of all languages, would I pick Swift?
Which is a valid choice, but it doesn’t mean that it isn’t successful or that it hasn’t taken off. Swift has achieved exactly the goal it was supposed to: become the official language for Apple platforms, replacing Objective-C as the entry point.
> If I need to write a CLI app, why, of all languages, would I pick Swift?
You probably wouldn’t. Other people might, for a variety of reasons including enjoying the language itself. I write CLI apps regularly and use several languages; Swift is one of them.
That Swift isn’t as popular outside the officially supported platforms isn’t surprising and doesn’t matter. The point is precisely that it didn’t have to cater to a specific one (Windows) to achieve success.
Swift is practically limited on MacOs & iOS.
If we’re going to limit the discussion to languages which “can be used for writing Mac, Linux, Windows apps”, then the argument is pointless. By definition, any language which can be used to write Windows apps has Windows support. That’s circular logic.
To address the argument, it only makes sense to discuss languages which don’t have¹ first class Windows support. Everything else is irrelevant.
¹ Or didn’t but were still popular at that time.