The problem is that the correct usage pattern put a lot of onus on the user.I
mean, it is very easy to avoid leaking memory in C++, just free anything
that you allocate.
Nevertheless, this seems to be common:
http://en.wikipedia.org/wiki/Memory_leak


On Wed, Mar 4, 2009 at 2:35 PM, hammett <[email protected]> wrote:

>
> I honestly don't get it - and believe me, I'm trying.
>
> In the very "getting started" article I mention the correct usage pattern:
> http://www.castleproject.org/container/gettingstarted/part1/code.html
>
> Search for container+release and you'll get more hits
>
> http://www.google.com/custom?q=container+release&sa=Google+Search&cof=S:http://www.castlestronghold.com;GL:1;VLC:%23373737;AH:center;LH:63;LC:%230A50A1;GFNT:%235B5B5B;L:http://www.castleproject.org/images/castle-logo.gif;ALC:%230A50A1;BIMG:http://www.castleproject.org/images/bg.png;LW:280;T:%235B5B5B;AWFID:3d565acacdd9f388;&domains=castleproject.org&sitesearch=castleproject.org
>
>
> Your usage pattern seems to beg for container hierarchy anyway.
>
> I'm not standing in front of this issue, though. If you - community -
> think this is how it's supposed to be, I'm fine - meritocracy: i'm not
> doing much for the project nowadays, so I wont make your life harder
> :-)
>
> But I read some divergence of opinions on this thread.
>
>
> On Wed, Mar 4, 2009 at 1:51 PM, Victor Kornov <[email protected]> wrote:
> > I don't want to make trade offs ;)
> > What I'm trying to say is this right & deterministic behavior leads to
> > unexpected, not obvious & mostly undiscovered by devs issues like memory
> > leaks.
> > Isn't there a way not to educate everyone on your way of doing things,
> but
> > to slap them in the face when they do it wrong? ;)
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to