Use the development language "objective-c" on the Apple platform to talk about the competition for language development efficiency-C # do not compete with Java. I am the slowest!

Source: Internet
Author: User

Author: failingProgramMember-eight gods

Objective-C, which has been used on the Apple development platform for many years, has a very unique syntax.

If you compare C # (not to mention Java first) with its language features, it would be a heaven and earth, but if you compare the application environment, it would be the most beautiful.
Declare a class and call a method. The number of times a single keyboard is more than twice that of C #. Do you believe this?
The following describes the basic form of objective-C.
Syntax introduction:
Declaration class
@ Interface car: nsobject
{
-(Void) Go; // instance method
-(Void) Turn :( INT) direction;
}
@ End

Definition class

@ Implementation car
{
-(Void) Go
{
// Driving...
}

-(Void) Turn: (INT) Direction
{
// Turn...
}
}
@ End

Check whether you are not satisfied with the above. If you use C # To write, at leastCodeReduce by half, and the distance between the typed letters will never make you confused.

However, Mac, iPhone, iPod, and iPad software developed with it has been increasing.
You must also know that developing Apple's software is not as limited as developing a Windows/Linux platform. On the contrary, Apple has added many development restrictions, for example, it must be developed on an Apple Computer (mandatory, because Apple's various sdks must be installed on the Mac operating system), you must register a Development Account (you cannot release the software if you do not need to register the SDK ).

There is such a large market for such a language. What can I say about Java? People cannot look at each other, and the sea cannot fight.

In any case, Java also has a foothold on the mobile platform. Android must be mentioned to write programs for it using Java.

Currently, Java/objective-C Programs run perfectly on the G1/iPad device. In addition, there are market demands and users need results, rather than the developer's so-called development efficiency.

End the language competition in the words of Boss Fu: "There are high and low positions for people, and there is no sense of dignity in your heart". It is a miracle that I respect any programming language.

I have used Google G1, iPad, and HTC hd2, and their systems are Android (CPU: 528 MHz, memory: 192 MB, BASIC program running effect: Smooth ), iPhone 3.0 (CPU: 1 GHz, memory: 528 M, BASIC program running effect: Smooth), win mobile 6.5 (CPU: 1 GHz, memory: 528 M, BASIC program running effect: A little slow)

I would like to use this document to give it to friends who like the language competition. Do not just think that Chinese is good, English, French, or Russian.

Related Article

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.