Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.
标签: connection pool applications program
上传时间: 2013-12-25
上传用户:playboys0
A URN Namespace of Object Identifiers
标签: Identifiers Namespace Object URN
上传时间: 2015-07-05
上传用户:zmy123
java data object 作者: David Jordan, Craig Russe
上传时间: 2015-07-05
上传用户:zhenyushaw
The program was written with some object-orientation in mind, which means that all functions that operate on a certain structure, has the structure s name as prefix in the function name, for example "Bitstream_get" which gets bits from a bitstream structure.
标签: object-orientation that functions program
上传时间: 2014-01-15
上传用户:epson850
"More for C++" is a class library that provides some features that are usually common for object oriented programming languages like Java or Python, but not for C
标签: that for features provides
上传时间: 2015-07-12
上传用户:wuyuying
inside the c++ object model.深入c++对象模型。鼎鼎大名的Stanley B. Lippman 写的。搞c++编程的能不看吗?
上传时间: 2013-12-22
上传用户:佳期如梦
JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。 http://doc.zoomquiet.org/data/20060522172353/
标签: JavaScript zoomquiet Notation Object
上传时间: 2013-12-10
上传用户:yulg
这本也是经典中的经典。它已经深入到接触 C++ Object Model 的层次。特别是 Exception-Safety 这一章一系列的步步深入,很大 程度上改变了我对 C++ 的认识。此外,它有提到 Pimpl Idiom,这 对改善 C++ 编译效率也有一定的帮助。其他的主题,例如泛型编程 和对标准库的几个讨论议题、暂时物件、物件寿命、自动转换…等,也 颇有深度。如果没看过这本,且对自己的 C++ 功力颇有信心的人,可 以测试看看。
标签: Exception-Safety Object Model
上传时间: 2015-08-09
上传用户:sqq
ADO+是Microsoft ActiveX Data Object(ADO,ActiveX数据对象)的改进。它是一个基于标准的程序设计模型,用于创建分布式的、数据共享的应用程序。
标签: ADO Microsoft ActiveX Object
上传时间: 2015-08-11
上传用户:fanboynet
VB+OBJECT编写,地理信息系统专业。 集地图的常用功能与一体。
上传时间: 2015-08-14
上传用户:a6697238