From: James T. <ja...@co...> - 2003-10-14 23:24:46
|
>>>- First of all i see that most of the function members return void. I am >>>not a C++ guru so maybe i am wrong but wouldn't be better if they returned >>>a reference to the object ? In this way we could do >>>object.func1().func2()...funcN(). >>> >>> >>> >>Where would this syntax come in handy? I've never really heard of this, >>but that doesn't mean it can't/won't be done. >> I'm just not clear on what type of functions you'd like to see this >>behavior available for, a small example would help. >> >> > > >I dont have something in mind. I just think that this would be a good >feature because in the future someone may wanna use it. On the other hand > >it is trivial to implement it :) > > Sorry, I'm really not liking the idea, and since certain functions need to return real values I don't know what to do. The syntax seems more awkward and hardly useful. Sorry, I'm going to have to pass on this feature unless anybody can offer a real justification. >>I do most of my development on Windows, so the Linux build system is >>lacking. I'm not familiar with configure scripts, >>but when I began ZEngine I was hardly familiar with Make, so that won't >>keep me from adding a configure script. >>Sorry about the ../zlib/unzip.h, that was added when I was first adding >>the code, and I accidentally let it into the release, >>it's already fixed in my local copy of the source. >> >> >> > >I am not familiar with them either, although i develop on Linux... >If you wanna learn it then check out this excellent book (it is free !) >http://sources.redhat.com/autobook/download.html > > > Thanks for the reference to the book, I'll look into it as soon as I get a chance. |