![Learning Object-Oriented Programming](https://wfqqreader-1252317822.image.myqcloud.com/cover/490/36703490/b_36703490.jpg)
上QQ阅读APP看书,第一时间看更新
Chapter 2. Classes and Instances
In this chapter, we will start generating blueprints to create objects in each of the three programming languages: Python, JavaScript, and C#. We will:
- Understand the differences between classes, prototypes, and instances in object-oriented programming
- Learn an object's lifecycle and how object constructors and destructors work
- Declare classes in Python and C# and use workarounds to have a similar feature in JavaScript
- Customize the process that takes place when you create instances in Python, C#, and JavaScript
- Customize the process that takes place when you destroy instances in Python, C#, and JavaScript
- Create different types of objects in Python, C#, and JavaScript