Think about a company that had a very complex routine written in C vs Swift if they wanted to port that to something else, Swift would require a rewrite whereas the C might not because of a standard in the language.
The case for every language, when porting code, especially for a business application, such as web applications. 3rd party libraries for a language may not be available for the language being ported to. Lets say, moving from Java that uses Spring to Python - where Spring is not available, nor is the app server.. So it's not just relating to ANSI standards - a whole host of other issues.
In fact, a huge part of my game plan is to write as many core routines as I can. I did this many years ago and was able to develop custom business software faster than anyone else I've ever known. The system I developed for American Express was done from ground zero to complete working system in 1 day and worked without flaw.
Personally, I'd rather use 3rd party libraries where applicable ( IoC containers, REST frameworks, database framework etc ) and not re-write the wheel myself - as the example above with Spring etc.
Businesses don't switch between languages on a whim so being dependent on a certain library - assuming you've done your research and picked the 'best' to suit the needs is a moot point. Writing such libraries when available 'off the shelf' and often open source ( Free ), yourself is probably not the best direction.. it will be a time sink / very inefficient.
Some may only look at themselves and how easy/hard it is for them to read code, but I look at the business of software development and what the customer wants.
Given the needs of the business comes first - There's a fine balance for producing code quality of code that can be maintained and extended in the future
A good software company will allow time to refactor / improve code when code quality has to be sacrificed for tight deadlines : if this time isn't allotted... future development and maintenance - will take a lot longer... a false economy. saved time in the short term, but it the long term not so much.
It's hard to see Swift being a good target to make a core foundation of business routines that I can use across whatever platform the customer has. It's hard to see me saying "drop all your devices and buy new ones" to make my product work.
At present, the value of Swift is aimed at writing OSX and iOS applications. If your not interested in this, then learn another language and avoid swift until it gains traction outside of the Apple world.
Getting a Swift compiler out there for other operating systems is only the beginning: the developer community needs to get behind the language and create a healthy eco system of 3rd party frameworks and libraries, like what exists for Java, C#, Python et al.
Last edited: