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