We invite you to study together
Swift, Apple New Launch of the a new script-based programming language. Swift has a Python-like ease of use and a strong operational efficiency. It can be said that its birth is a miracle in the Internet field. It opens up a new era in the Internet era. So, what does it really work for? What are some of the best features of other languages? Compare it to C #, what are the pros and cons? What impact will it have on future software development? As a programmer, at the moment, a company that has a wide influence on the world's consumer and consumer platforms, has launched a new language, and everyone is the 0 foundation, what do you think about it ?
Swift absorbs a lot of other language syntax, it is much simpler to write than OBJC, but the concept of its bones is similar to the original OBJC . .
In the sense that Swift has a OBJC, C + +, Ruby shadow.
The syntax of a programming language is important, but the concept behind the syntax is more important. For example, object-oriented, common concepts are nothing more than, inheritance, polymorphism, encapsulation, information hiding and so on. Inheritance can also be divided into multiple inheritance, interface inheritance, implementation of inheritance. Or there are nested classes, nested functions, and so on.
When you understand the concepts behind the grammar, know why you need to have these things. It's easy to switch from one language to another with the same concept.
Grammar affects expression, and in theory every language can express any concept. But when a concept is difficult to express in a language, it tends to not be used, a concept that is hard to be known in the community of that language.
want to learn Swift , first of all to understand its characteristics:
1. Apple's App Store has successfully turned software into a fast-consuming commodity. Fast consumption must be quickly generated to match. I think this is the point of market demand that Swift needs to meet. As you can see, the so-called "large-scale, team-based software development" is obsolete, this development model is no way out. Even Apple is doing fixing, and a software is done by a few people who can figure it out.
2. A programming language is not good, the most important thing is to see how many people use. So according to Apple 's strong influence on the developer ecosystem,
3. Apple's product strategy is very different from that of Sun, Google. Apple's new product must be 100% market ready (not going to get rid of it), and not easy to learn from other Internet companies ofspecialty (Dart, Go). In terms of the completeness of the tools at the time of Swift's release, the tool has been grinding for at least 3 or 4 years inside Apple. Most parts of the new operating system are written in SwifT. But it's nothing to show off, because it's not a strong marketing point for Apple. Not to mention the gold mine is on the LLVM.
4. Functional programming has proven effective in improving development efficiency (global variables, code, scope issues refer to Lua Upvalue). The face of object programming pits a generation.
5. Swift, while fusing many languages with semantic refinement, has made a lot of compromises to the IDE (such as {} after:->). So it can be expected that Swift will be very friendly to beginners and that the entry threshold is expected to be much lower than OBJC.
It's wrong to think that everyone is a 0 base . . To learn a language well, the foundation is very important.
people and people are not the same, whether in study, work or life, the same thing in the knowledge and understanding will be different. Some people learn very fast, because the previous foundation is good. Language grammar is only the surface, the surface of things always change relatively fast. The Foundation is a very important aspect to learn the language well. What is underneath is much more important than the surface , and invisible. A piece of ice on the surface, some people are the tip of the iceberg, some people are without root ice. It looks pretty much the same, but it's very different.
I believe that some people will be able to use the new language within two hours.
I dare not look forward to too much, or predict what, usually ahead of the prediction is wrong, will let people grasp the handle. But it feels like Apple is releasing Swift, not playing.
Therefore, learning a new language requires not only a thorough understanding of its characteristics to master its laws, but also the guidance and explanation of the professionals. Welcome to the Professional IT education button Ding school , for your life to open a new door.
How to evaluate Swift language?