Swift language fell from the sky, can it set off a new round of technological revolution?


Swift language fell from the sky, can it set off a new round of technological revolution?


It has only been just over a month since the birth of the Swift language, and Swift has actually squeezed into the 16th place in the TIOBE rankings. I believe that the speed of this development is by no means comparable to any other language, so what kind of language is Swift? It's always so charming! In such a severe environment. How should developers make decisions? What does it mean for Apple itself? Is the introduction of the Swift language a simple replacement for Object-C. Or have a deeper strategy? Today, the old cat (louhe community administrator ) will share his views with you.



What kind of language is Swift?


As far as the Swift language itself is concerned, it is a very good language. Both for novice and for those who have programming foundation in any language. It's extremely easy to get started. It takes some of the strengths of very many languages ​​and incorporates them. And then removed the things that have always been spurned, difficult to use, and difficult to learn in other languages. It can be said that the real is to take its essence. Get rid of its dross. at this point. Personally, I think Apple's work is very worthwhile for everyone to learn. Therefore, the Swift language is successful in itself, because its birth is a product of the rapid development of the information age. In line with the requirements of the times. It's the proof of technology moving forward!




How should developers view it?


The emergence of the Swift language. I believe a lot of developers are excited about it. Because of the beauty and simplicity of the Swfit language. It has greatly reduced the threshold for countless developers to enter IOS development. Earlier on the Internet, I saw a lot of developers complaining that Object-C, a peculiar language, is extremely difficult to learn. The syntax is extremely weird, which instantly extinguished their enthusiasm for entering IOS and had to give up. So now that Apple's introduction of the Swift language has really reduced the threshold for developers to enter IOS development? I don't think so. On the contrary, it should raise the threshold for developers to enter into IOS development. Why do you say so. In fact, everyone can understand if you think about it carefully. At present, Objective-C is still the main force in IOS development. I believe that it is impossible to directly use Swift for development in a short period of time. Therefore, when Swift truly replaces Object-C, or when enterprises develop entirely in Swift, it is still There has to be a process. So in the process, developers want to enter IOS development, in addition to learning Object-C. No choice but to learn Swift at the same time in order to keep up with Apple. Of course, if you are an individual developer, you can go directly to Swift without learning Object-C.


For students who want to learn the Swift language, it is very convenient now. At present, the information in this area is relatively complete. For example , the Louhe community has collected a lot of tutorials and source codes. and a list of Swift open source projects on Github . Finally, for students who want to enter IOS development, hurry up!



What about Apple itself?


Object-C语言出现非常久了,尽管仅仅有全球科技中仅仅有苹果一家公司在用,但这一两年从TIOBE发布的编程语言排行榜能够看出Object-C都排在前五,可谓苹果的强大。同一时候也说明了Object-C无论是是对于市场而言还是苹果自身而言。其已经是一个非常成熟的语言了,包含一些其它关于Object-C的库也是非常全的,而对于Swift而言就是一片空白。都说程序猿是“懒惰”的,苹果此时推出Swift语言,尽管极大减少了新入行IOS开发人员的门槛,但对于那些Object-C前辈们而言,无论其Swift多简单easy,无疑是添加了他们负担,同一时候兴许Swift、Object-C会有一段共存的过程,并且Swift是否能真的全然替代Object-C也是一个未知数,如若不能,将来Swift、Object-C长久共存,这对于苹果而言将是一个重大的错误的開始,造成的损失是无法估量的。

因此个人认为苹果冒着这么大的风险推出Swift语言,绝不是单单为了替代Object-C,让开发人员能够更简单的开发应用,也许这仅仅只是是其中一个方面的原因,在其背后应有一层更深的战略。


这战略究竟啥?预计除了苹果自己。谁也无法知道。只是。苹果向来是非常注重自己生态系统的建设。智能设备领域现已是科技界各大佬的争夺圣地,苹果推出Swift会不会跟这方面有啥原因呢?这就让大家自己去想吧,我们拭目以待苹果吧!



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324932982&siteId=291194637