Click here to Skip to main content
15,899,679 members
Home / Discussions / Article Writing
   

Article Writing

 
QuestionHow to check if a thread waits for data at the read-end of a pipe? Pin
leifel25-Nov-04 0:56
leifel25-Nov-04 0:56 
AnswerRe: How to check if a thread waits for data at the read-end of a pipe? Pin
Blake Miller2-Dec-04 5:05
Blake Miller2-Dec-04 5:05 
GeneralRe: How to check if a thread waits for data at the read-end of a pipe? Pin
leifel2-Dec-04 21:34
leifel2-Dec-04 21:34 
GeneralTelnet Login's Pin
Flame Gitsnik23-Nov-04 10:13
Flame Gitsnik23-Nov-04 10:13 
Generalflash templates Pin
Anonymous22-Nov-04 19:42
Anonymous22-Nov-04 19:42 
GeneralInterest in C++ Library Alternative to STL Pin
Christopher Diggins21-Nov-04 4:27
professionalChristopher Diggins21-Nov-04 4:27 
GeneralRe: Interest in C++ Library Alternative to STL Pin
Joaquín M López Muñoz21-Nov-04 5:53
Joaquín M López Muñoz21-Nov-04 5:53 
GeneralRe: Interest in C++ Library Alternative to STL Pin
Christopher Diggins21-Nov-04 7:07
professionalChristopher Diggins21-Nov-04 7:07 
Hello Joaquín,

I, for one, would be very interested in seeing this library develop at CP (or any other place, for that matter).

I am very pleased to hear that.

I've got a couple of questions: Is there any draft source code we can have a look at?

By tommorrow morning there will be, but I will have to warn you that making interfaces and design by contract work in C++ leads to some really complicated code.

If I'm understanding your rationale, I'd say OOTL collections work more or less like the STL with the important difference that they support interface-based polymorphism. Is this the key concept behind OOTL, or am I missing something?


This is essentially correct, though I consider the most important difference to be that the OOTL collections are arranged in a proper hierarchy, and are more like the abstract data types they represent. It may seem trivial, but the fact that the OOTL collections all use a common iterator type makes working with OOTL collections much easier and less cryptic.

Collections aside, I find the interface concept much intriguing. Reminds me of some dynamic type checking languages like Smalltalk, with some added compile-time checking in the spirit of C++. While I'd say this type of programming is not what C++ purports to support, maybe it can be useful for prototyping and some forms of RAD programming.

Most definitely but the applications extend to any kind of object-oriented design.

Have you investigated how well interface programming interacts with GUI frameworks like MFC and WTL?

Not yet, but this is a direction I would very much like to explore. There are no forseeable options to using interfaces with these kinds of libraries. It would be great to design a GUI library that could be adapted to work with different C++ GUI toolkits.

While these frameworks are not polymorphic in the C++ sense of the word, it seems to me like commonality between different widgets (for instance, the SetWindowText/GetWindowText stuff) can be appropriately captured by suitable interfaces.

Definitely.

Thanks again for your interest, and I will post to this thread as more news occurs. If you wish to follow or contribute development discussions, you can easily do so at http://groups-beta.google.com/group/ootl[^].

Christopher Diggins
http://www.cdiggins.com
http://www.heron-language.com
GeneralRe: Interest in C++ Library Alternative to STL Pin
Vivi Chellappa30-Nov-04 15:11
professionalVivi Chellappa30-Nov-04 15:11 
GeneralRe: Interest in C++ Library Alternative to STL Pin
Christopher Diggins25-Nov-04 18:52
professionalChristopher Diggins25-Nov-04 18:52 
GeneralNewbie - Html, swf & Yahoo Pin
Tweetiengram14-Nov-04 7:53
Tweetiengram14-Nov-04 7:53 
GeneralImport data to msde from SQL 2000 Pin
nitin_ion9-Nov-04 23:56
nitin_ion9-Nov-04 23:56 
GeneralRe: Import data to msde from SQL 2000 Pin
CodeWell17-Nov-04 20:32
CodeWell17-Nov-04 20:32 
GeneralRe: Import data to msde from SQL 2000 Pin
Steve S17-Nov-04 22:18
Steve S17-Nov-04 22:18 
GeneralRe: Import data to msde from SQL 2000 Pin
Anonymous18-Nov-04 0:57
Anonymous18-Nov-04 0:57 
GeneralRe: Import data to msde from SQL 2000 Pin
nitin_ion18-Nov-04 1:03
nitin_ion18-Nov-04 1:03 
GeneralRe: Import data to msde from SQL 2000 Pin
Steve S18-Nov-04 23:55
Steve S18-Nov-04 23:55 
GeneralRe: Import data to msde from SQL 2000 Pin
nitin_ion19-Nov-04 0:01
nitin_ion19-Nov-04 0:01 
GeneralFile Shredding Pin
_kane_8-Nov-04 2:06
_kane_8-Nov-04 2:06 
Generalpacket filter Pin
izdihar3-Nov-04 18:58
izdihar3-Nov-04 18:58 
GeneralPost a control Pin
Jordi Corominas3-Nov-04 10:49
Jordi Corominas3-Nov-04 10:49 
GeneralRe: Post a control Pin
DavidNohejl4-Nov-04 9:04
DavidNohejl4-Nov-04 9:04 
Generalc.wav = a.wav + b.wav Pin
meraydin31-Oct-04 10:52
meraydin31-Oct-04 10:52 
GeneralRe: c.wav = a.wav + b.wav Pin
jagan797-Nov-04 20:30
jagan797-Nov-04 20:30 
GeneralDeploying HTML Help 2.0 (HxS files) With Your Class Library Pin
RFID Chris29-Oct-04 6:31
RFID Chris29-Oct-04 6:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.