- Learning Object-Oriented Programming
- Gastón C. Hillar
- 109字
- 2021-07-16 13:46:04
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
推薦閱讀
- C語言程序設(shè)計實訓教程
- 機械工程師Python編程:入門、實戰(zhàn)與進階
- Android Native Development Kit Cookbook
- Practical Microservices
- Scratch從入門到精通
- Hack與HHVM權(quán)威指南
- Mastering XenApp?
- Building Microservices with .NET Core 2.0(Second Edition)
- C#教程
- 程序員的算法趣題2
- 羅布樂思開發(fā)官方指南:Lua 語言編程
- ASP.NET開發(fā)技巧精講
- Mastering PyCharm
- Elixir Cookbook
- Hands-On Design Patterns with Kotlin