Object-oriented programming foundation
The purpose of this chapter is to guide you by object-oriented programming, understanding object-oriented importance. Many advanced languages, such as C and Microsoft Visual Basic, claiming to "support objects", but only a few languages support all principles that make up object-oriented programming. C # is such a language: it is a real face-to-object, based on the components. Therefore, you have to get as much knowledge as possible from this book, you need a good concept. I know that such concept chapters are usually skilled by the readers, they want to be coded immediately, but unless you think that you are "technology genius", I suggest you read this chapter. Those who have been programmed to objects only have a lot of people, you will get a lot of this chapter. At the same time, remember that the terms and concepts discussed in this chapter will be used in this chapter.
As I said, many languages claim to be object or objects, but very few truly. C is different, because it is undeniable, it is deeply transplanted to the C language. Too many OOP ideas must sacrifice C to meet some of the genetic properties of C. Even Java languages, although it is very good, but there are still many restrictions as object-oriented languages. For example, I mentioned that simple types and object types in Java are different processing and action. However, the focus of this chapter is not the correctness of different languages on the principle of OOP. This chapter is preferred to provide an objective and language-independent tutorial for explaining OOP principles.
Before we started, I have to say object-oriented programming is never a market sales phrase (although this is like this), a new grammar, or a new application programming interface (API). Object-oriented programming is a series of new concepts and ideas. It is a way of thinking about a problem with a computer language. It is a way to hug in a more intuitive approach and therefore also productivity.
My first job is to write a record and application of the "Ice Day holiday" box office revenue with Pascal language. When I transferred to other work and applications, I use PL / I and RPG III (and RPG / 400).
After some years, I started programming with C language. In these examples, I can easily apply my knowledge learned from previous experience. For me, a successful language learning curve is shorter, despite the complexity of the language, because until I use C programming, all other languages I have used are just the different grammar.
However, if you just contact objects to objects, I will warn you: Experience in the previous use of non-directional object language is useless! Object-oriented programming is a completely different way of thinking of solutions for designing and writing issues. In fact, research shows that the programming newcomer has learned the object-oriented language more quickly than our original process language such as Basic, Cobol and C.
These people do not need to "forget" habits of any process programming, and these will hinder their understanding of OOP. They start with a clean slate. If you use process language to program for many years, C # is your first object-oriented language, I can give you the best suggestions to keep an open mind, saying your hands, "I can deceive [Insert your procedural language] "Before, executing what I said. Anyone who has a procedure programming background will go to the object-oriented object programming, which is useful. This curve is useful. Use object-oriented language programming The income is unable to calculate, whether it is more efficiently written, or build a system that is more easier to modify and expand after the first writing. It may begin to look at it. However, it has experienced more than 20 years of software (including 8 years of object-oriented languages) showing: When the correct application is, the OOP concept is really as promising. Without how much effort, we will easily find where to come out.
For more information, see China Soft Test League: www.cnitunion.com China Soft Test League