Getting Started with objects

Source: Internet
Author: User
Tags object model

"Why is object-oriented programming so shocking in the area of software development?" ”

Object-oriented programming (OOP) has many attractions. For managers, it enables faster and cheaper development and maintenance processes. For analysis and design personnel, modeling and processing becomes simpler and can generate clear and maintainable design solutions. For programmers, the object model looks so elegant and plain. In addition, object-oriented tools and the great power of libraries make programming a more enjoyable task. Everyone can benefit from it, at least superficially.
If it has shortcomings, it is the cost of mastering it. When thinking about the object, we need to adopt the thinking in images rather than the programmed thought. The design process for objects is more challenging than programmatic design-especially when trying to create reusable (renewable) objects. In the past, those who were involved in object-oriented programming had to make a painful choice:
(1) The choice of a language such as Smalltalk, "before", must master a huge library.
(2) Choose c + + (annotation ①), which has virtually no library, and then delve deeper into the language until you can write the object library on your own.

①: Luckily, the situation has changed markedly. There are now Third-party libraries and standard C + + libraries to choose from.

In fact, it's hard to design objects well--and it's hard to design anything. As a result, only a very small number of "experts" can design the best objects and then let others enjoy it. For successful OOP languages, they not only integrate the syntax of the language and a compiler (compiler), but also have a successful development environment that contains well-designed, easy-to-use libraries. Therefore, the most important task for most programmers is to use existing objects to solve their application problems. The goal of this chapter is to uncover the concept of object-oriented programming and prove how simple it is.
This chapter will explain a number of Java design ideas, and conceptually explain object-oriented programming. Note, however, that after reading this chapter, you cannot immediately write a fully functional Java program. All the detailed instructions and examples are shown in the other chapters of this book slowly.

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.