on 9/29/02 3:00 PM, Finlay Dobbie at finlay (at) dobbie .DOT net wrote:
>> No, C++ is best of the best :-) > > Your logic is slightly flawed. :-) > > Sure, the benefits of Obj-C might not be terribly well manifested in > this SDK as it stands at the moment, but even just the integration at > the moment is worth it. I am also considering making a function where > you could define an Obj-C object and then perform a query on a database > which allocates a copy of that object for each row and fills in the > instance variables with the fields, which many people would find useful > (I think this is probably a bit like EOF was). Another possibility > would be the ability to serialize objects to a database using > NSKeyValueCoding.
Man, this is THIRD MODEL that Valentina can support -- Pure Object Orineted database.
This is when 1) some classes marked as persistent 2) for each row in fact user get instance of that class.
Here we have 2 branches: A) totally own implementation B) following by ODMG standard
Agree?
> If you used Obj-C for writing a Cocoa app, you'd find it's lovely :-)
> (I have quite a bit of code in V4Cocoa that deals with typids of > objects and performing dynamic_casts on them to make them all of the > right type... in Obj-C, I wouldn't need to bother). There are many > advantages to using the current V4Cocoa over the VSDK C++ even in its > current state, though, when building Cocoa apps: no need to pollute > Obj-C code with ugly C++ (;-D -- you get used to all the [] all over > the place and it doesn't look as odd as it does at first), no need to > use the extremely slow Obj-C++ compiler for all your code (my current > project, Blue6, uses VSDK C++ and so almost all the controllers have to > be .mm files and take ages to compile). That's not to mention the > possibilities I describe above.
Finlay, I DO NOT say that we do not need V4Cocoa, We need it very much !!!
I just try discuss a little with you language itself: Objective-C against C++ ?
We can start other thread on this ? May be you know some URL that answer on this ? What can I do with Objective C more easier and effectively than in C++ ?
> I did have some code for VBitSet, VBitSetIterator, etc but I removed it > since I didn't see it present in any of the other APIs :-)
As I have mention, I think in future versions this classes must be added to ALL products that has OO support: VJDK, V4RB, VCOM, V4Cocoa.
-- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list send a letter to valentina-on (at) lists .DOT macserve.net ------------------------------------------------------------- ©2002 Ruslan Zasukhin |