My path to technology transformation-from C + + to Android (i)

Source: Internet
Author: User

Tag:android   c++    transformation    

As a programmer, learning is an essential part of the work, from learning new APIs, class libraries,using theIDE to learning a new development language, we continue to challenge and change ourselves with the footsteps of the Times. The so-called technology transformation in the end, it is difficult to know clearly, I began to work in the first two years of C + + development, and then because the work needs to learn Android Application development So far more than two years, the use of the tool software and language are completely different, so let's say that I am a technology transformation, I just want to talk about my years of work experience, a C + + programmer to Some experiences and experiences in the process of Android program transformation. Given the difference between the work environment and the professionalism, perhaps my experience is meaningless for most people, but maybe there are a few people who can find the same feeling in my narrative, and I feel very relieved.

Logically, the title of the description is not accurate, if from the operating system platform, I am fromWindowthe platform turned toAndroidfrom the perspective of development language,C + +go to theJAVAfrom the use of the development tool is fromVisualStudioturned to the beltADTPlug -InEclipse; From the use ofSDK, it is fromMFCand theWindow APIturned to theAndroid SDK. The reason I use the "fromC + +to theAndroid"This subtitle is due to the fact that most people recognize and differentiate between these two types of programmers from these two perspectives,C + +programmers are not concerned with what development kits and operating system platforms are used, and forAndroidprogrammers do not seem to care about the use of the development of language, perhaps these two titles are the brand of the Times.

Here are the differences between the two languages, first of all.C + +it. SayC + +you have to mentionClanguage. C + +is aCThe expansion of language, there are too many similarities and similarity in syntax, generallyC + +people can write it.Cprogram, but the two are still somewhat different, the most important of which isCis support for process-oriented programming languages,C + +is a language that supports object-oriented programming. In the top-ranked languageC + +Is also recognized as one of the highest entry threshold programming languages, and his complex reasons are probably in the introduction of object-oriented programming concepts and specifications while at the same timeCThe language function makes as much reservation as possible, especially pointers and macro definitions that are more daunting for many small white programmers. Process-oriented and object-oriented are two completely different approaches to programming, withCthe Language Foundation and the people who have learned at least one object-oriented programming language are generally able to experience it. Process-oriented is to analyze the steps to solve the problem, and then use the function/The method implements these steps in turn, and then invokes them in turn, and object-oriented is the decomposition of the things that make up the problem into multiple objects, and things are formed by the interaction between objects. In contrast, object-oriented is easier to write loosely coupled code, which can better implement code reuse. But not usingCcan not write object-oriented programs, withC + +the written procedure must be process-oriented, involving programmers ' personal programming habits and professional attainments.

The JAVA language is also part of C , so its syntax is much like C + + , but it is a more human language. Humanization is not just about JAVA without pointers, but rather it implements object-oriented and has a natural advantage in interface-oriented programming. Interface-oriented programming is a major step forward in programming theory, which is not a subversion of object-oriented programming, but a higher level of object-oriented programming. objects are highly decoupled and do not rely on the underlying implementation to make our code easier to extend and maintain. The progress of technology is not that people have more obscures knowledge and professional skills, but technology makes us greatly improve the efficiency.

To Be continued ...

My path to technology transformation-from C + + to Android (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.