Author qq:1095737364 QQ Group: 123300273 Welcome to join.1. Pattern Definition:The enjoy meta mode is the structure mode of the object. The enjoy meta mode efficiently supports a large number of fine-grained objects in a shared manner.2. Mode
Objective
Wenzu the corresponding English is metatable, the meta method is Metamethod. As we all know, in C + +, two classes cannot be added directly, but if you overload the "+" symbol, you can do the addition of the class. There is also this
metaprogramming
is the writing of computer programs
This write or manipulate other programs (o R themselves) as their data,
or that does part of the work at compile
time this would otherwise be don E at runtime
. In some cases,
In the book "Java and Patterns" of Dr. Shanhong, this describes the Flyweight pattern:Flyweight in boxing is the most lightweight, that is, "The fly level" or "rainfall level", where the choice to use the "enjoy meta-mode" of the free translation,
Meta is an auxiliary label for the HTML language Head area. Using meta tags in almost every web page can have unexpected results.
Meta is an auxiliary label for the HTML language Head area. In almost all of the pages, we can see HTML code similar to
The meta table provided in LUA is a personalized behavior that helps LUA data variables complete some of the predefined features, such as the addition of two tables. Assuming both A and B are tables, you can define how expression a+b is evaluated by
Flyweight in boxing is the most lightweight, that is, "The fly level" or "rainfall level", where the choice to use the "enjoy meta-mode" of the free translation, because it is more reflective of the intention of the model. The enjoy meta mode is the
Review object-oriented programming
Let's start with 30 seconds to review what OOP is all about. In object-oriented programming languages, you can define classes that are used to bundle related data and behavior together. These classes can inherit
Transfer from http://blog.csdn.net/windyitian/article/details/19810875A relatively simple English, the focus is to explain meta-class. Translate, deepen understanding.Original title: What's a meta-class in objective-c?Original address:
Https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.htmlhttp://blog.csdn.net/windyitian/article/details/19810875A relatively simple English, the focus is to explain meta-class. Translate,
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.