How to refine C++ in a general way?
来源:互联网 发布:大麦盒子刷机 网络限制 编辑:程序博客网 时间:2024/06/05 08:19
How to refine C++ in a general way?
Abstracting brings general concepts and forms extracted from individual substance. In short, human gets only formal aspects of individuals.
At one hand, abstract general concept exists within special environment, otherwise, it is not easy to understand abstract general concept alone without the help of special environment; at the other, the essences of objective individual which is a set of formal features are needed to be represented through known and subjective general concepts, although these concepts would not reflect the individual fully. However, general and individual need each other. The relationship between general and individual exits without human subjective involvement.
But humans know this relationship and try to represent this relationship in a kind of language, such as formal language. And the nature of the process of generating concepts is abstraction. For millions of years, human gets familiar with this process which is in any form.
C++, as a formal language, makes it more easy to represent, understand, and use the relationship: abstract and concrete, general and individual. Comparing with other ways, the method employed by formal language is more convenient, for human, to understand and deduct. The major mechanisms which C++ uses are representing concepts formally through types and templates, inheriting formally through public, protect, and private inheritance; then using polymorphism formally in behavior, including overloading, overriding.
Abstracting brings general concepts and forms extracted from individual substance. In short, human gets only formal aspects of individuals.
At one hand, abstract general concept exists within special environment, otherwise, it is not easy to understand abstract general concept alone without the help of special environment; at the other, the essences of objective individual which is a set of formal features are needed to be represented through known and subjective general concepts, although these concepts would not reflect the individual fully. However, general and individual need each other. The relationship between general and individual exits without human subjective involvement.
But humans know this relationship and try to represent this relationship in a kind of language, such as formal language. And the nature of the process of generating concepts is abstraction. For millions of years, human gets familiar with this process which is in any form.
C++, as a formal language, makes it more easy to represent, understand, and use the relationship: abstract and concrete, general and individual. Comparing with other ways, the method employed by formal language is more convenient, for human, to understand and deduct. The major mechanisms which C++ uses are representing concepts formally through types and templates, inheriting formally through public, protect, and private inheritance; then using polymorphism formally in behavior, including overloading, overriding.
阅读全文
0 0
- How to refine C++ in a general way?
- A way to implement a general purpose LinkedList in C
- How to Refine the Log Retention Settings in XenServer
- How to consume your time in your developing and how to use a efficient way?
- How to use git in general and bitbucket in particular
- How to set NULL to a pointer in Managed C++?
- How to split a string to array in objective-c?
- How To Correct Misclassified Accounts in General Ledger
- How to use epoll? A complete example in C
- How to use epoll? A complete example in C
- How to use epoll? A complete example in C
- How to use epoll? A complete example in C
- How to use epoll? A complete example in C
- How to use epoll? A complete example in C
- How to use epoll? A complete example in C
- How to use epoll? A complete example in C
- How to use epoll? A complete example in C
- How to initialize a static const map in c++?
- WEB页面_js代码中,数组数据转字符串 (idArray是数组)
- could not create the view:an unexpected exception was thrown
- BZOJ3670(Noi2014)[动物园]--KMP
- 51nod 1158 全是1的最大子矩阵 (单调栈) 详细图解
- SSM日期类型的转化
- How to refine C++ in a general way?
- 使用cURL作为HTTP请求媒介
- QT5 使用163邮箱发送邮件
- oracle 数据库表table
- CCF CSP 2014年12月第2题 Z字型扫描(模拟水题)
- 647. Palindromic Substrings
- ubus实现进程间通信
- Python2中unicode转str
- WEB页面_文件上传(表单提交和ocupload)