Home > Articles > Mobile Application Development & Programming

The Importance of Object-Oriented Programming in the Era of Mobile Development

Do you need to know object-oriented programming to create mobile apps? Matt Weisfeld answers that question by examining three questions of his own: What mobile devices are the most prominent in the marketplace today, what programming languages are used to program these devices, and why has object-oriented programming become so important?
Like this article? We recommend

As a developer and college professor, I often get asked the following question: “If I want to develop mobile apps, how important is it that I learn object-oriented programming?” My initial response to this query is very straightforward: If you want to program just about anything these days, you’d better learn object-oriented programming.

I have been writing about object-oriented programming (OOP) since the early ‘90s, and the topic of how important it is has been raised in one form or another, well, since the early ‘90s. While the release of the first version of Java in January 1996 significantly increased the interest in OOP, the buzz, in fact, started even earlier than that, with Smalltalk and C++. Regardless of the context, the answer to the question posed above is always the same: Learning object-oriented programming is crucial to all modern software development—including mobile apps.

It can safely be said that the object has been the driving force in the programming industry for a very long time and will continue to be so for the foreseeable future. The evidence to support this statement is pretty compelling! Today, just about every major software development methodology is based on objects. As a result, virtually all programming languages, scripting languages and application designs are object-oriented or object-based.

To back these statements up, all we have to do is take a quick look at the importance that objects play in mobile app development. This includes native apps for phones as well as hybrid apps that can be viewed on any browser (whether it is on a phone, PC, tablet, etc.). While mobile apps are the hot topic today in the software industry, they are just the latest technology in its evolution.

To demonstrate how important object-oriented programming is to mobile app development, let's explore the following questions:

  1. What mobile devices are the most prominent in the marketplace today?
  2. What programming languages are used to program these devices?
  3. Why has object-oriented programming become so important?

What Mobile Devices Are the Most Prominent in the Marketplace Today?

The category of mobile devices is quite broad and can include many products, such as smartphones, tablets, music players, computers, and so on. Since many of the development platforms across manufactures are similar—for example, the development environment for an Android smartphone is similar to that of an Android tablet,—we can focus in on the smartphone category to provide a good representation of mobile devices in general. So let's take a look at the distribution of the smartphone market.

One article from CNET listed the smartphone market share as follows: Apple's iOS at 51.2%, Google's Android at 44.2%, Microsoft's Windows Phone at 2.6% and Other as 2%. A bit more searching revealed that RIM's Blackberry held about 1% of the market, thus adjusting the “Other” category to 1%.

By looking at Figure 1, it is easy to see that about 95% of the market is dominated by two operating system platforms: iOS and Android. The primary difference between the two is that iOS is a propriety technology from a single manufacturer, Apple, while the Android market is a more open system with a variety of manufactures, including HTC, Samsung and Motorola. Despite the fact that the rest of the field represents less than 5% of the market, I wanted to include Windows Phone and BlackBerry in the discussion. Thus, the following four platforms—iOS, Android, Windows and Blackberry—make up approximately 99% of the consumer smartphone market.

Figure 1 Percentage Breakdown of the Smartphone Market

With this information defined, we can now explore what programming languages are used to create phone apps for each of the platforms.

What Programming Languages Are Used to Program These Devices?

This information can be displayed in short order, and does not need a lot of explanation. The list can be seen below.

iOS

Language: Objective-C

Android

Language: Java

Windows Phone

Language: .NET (C#, Visual Basic)

BlackBerry

Language: Java

Source: http://en.wikipedia.org/wiki/Mobile_application_development

Based on this information, we can safely make the following statements with regard to the primary programming languages used for smartphone app development: iPhone apps are developed using Objective-C, Android apps are developed using Java, Windows Phone apps are developed using C# .NET, and BlackBerry apps are developed using Java.  The common thread? All of the languages listed are based on objects! So there really isn't much debate as to how important objects are to the mobile app industry.

It is not often that you can say that a single technology dominates virtually all of a specific market. However, in this case we can easily demonstrate that object-oriented programming is used in virtually all mobile app development.

Why Has Object-oriented Programming Become So Important?

It's all about the network! The rise of object-oriented programming was fueled by the emergence of the Internet as a place of business. While various flavors of object-oriented languages have been around since the 1960s, it is no accident that its widespread adoption coincided with that of the Internet.

If we consider the fact that Java, which was one of the first popular object-oriented languages, was based heavily on C++, the obvious question is why wasn't C++ used instead of Java? The answer is that Java was designed with networks in mind. Originally, in the early 1990s, Java's direct ancestor, Oak,  was created as part of a smart appliances project.

The Oak development team initially attempted to use C++, but there were many features of C++ that presented limitations, including difficulty in networking. The team also wanted a language that was highly portable and included a graphical user interface. After considering extending C++, they decided to create a new language, which was named Oak. Regardless of how successful the Oak programming language might have been, the project was a bit (only a bit) ahead of its time. While the state-of-the-art  in the early 1990s might not yet have been smart appliances and cable TV, something very state-of-the-art  presented itself in the mid 90s: the Internet.

In 1994, Sun decided that the Internet was evolving into something that looked rather similar to the Oak team's vision of what the cable TV industry might someday look like. Oak was renamed Java, and the Java Development Kit (JDK) 1.0 was released on January 23, 1996. The rest, as they say, is history.

Because Java was originally created with many features designed for use on a network, it was a perfect match for the Internet, which was poised to experience explosive growth. Java was strategically positioned to share in this growth, and the stage was set for many other languages to emulate the features that made Java successful. Oh, and there was one other pretty important (and interesting) thing about Java — it was fully object-oriented.

The fact that Java was able to ride the wave of the Internet was partially due to the fact that HTML only presented static content to web pages. One of the cool new features that Java provided was a feature called applets. Applets provided dynamic functionality such as animation, capturing input, and a variety of controls (buttons, check boxes, etc). Java also provided a library for the creation of user interfaces (AWT) that would render on multiple platforms, which was, at the time, virtually unheard of.

Interestingly enough,  the importance of Applets eventually faded as newer technologies within Java emerged (and AWT was superseded by Swing).  Thus, some of the features of Java that led to its initial acceptance were somewhat quickly abandoned. However, the object-oriented nature of Java, as well as its networking capabilities, laid the foundation for the future of programming languages that fueled the Internet and, eventually,  mobile devices.

Today, virtually all of the programming , scripting languages and frameworks used to create mobile applications rely on object technology: Java, C# .NET, Visual Basic .NET, Objective-C, Ruby, JavaScript, jQuery, jQuery Mobile, etc.

Finally, perhaps the most interesting back-story in this discussion is the fact that, as often happens, the technology has come full circle. Remember that the emergence of object technology began in the early 90s with Oak and its vision of smart appliances. Also remember that this vision was well ahead of its time.  So consider this: years ago the Internet was the hot development topic, and today mobile apps are the hot development topic. Perhaps tomorrow's hot topic may well be the concept of “The Internet of Things,” which is being promoted by companies such as GE and Microsoft. “The Internet of Things” refers to uniquely identifiable objects. Thus, the next generation of object development may be the realm of smart cars and smart homes, which contain smart appliances. Sound familiar?

Conclusion

The four major mobile device platforms — iPhone, Android, Windows and BlackBerry — use Java, .NET and Objective-C, which are all based on objects.

These four platforms make up 99% of the smartphone market, and thus an overwhelming part of the mobile marketplace. If for nothing else but dramatic effect, Figure 2 answers the question of how important object-oriented languages are to mobile development. As you can see, virtually all of the mobile app development platforms are object-oriented.

Figure 2 Breakdown of Languages Used in Mobile Development

References

http://news.cnet.com/8301-13579_3-57565106-37/iphone-wins-51-percent-of-u.s-smartphone-sales-says-report/

http://bgr.com/2012/08/16/blackberry-market-share-us-2012-usage/

http://en.wikipedia.org/wiki/Objective-C

http://en.wikipedia.org/wiki/Java_version_history

http://en.wikipedia.org/wiki/Mobile_application_development

http://en.wikipedia.org/wiki/Visual_Basic_.NET

http://en.wikipedia.org/wiki/C_Sharp_(programming_language)

http://www.w3schools.com/xml/xml_whatis.asp

http://en.wikipedia.org/wiki/Java_(software_platform)#History

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020