[Ktechlab-devel] Thread about using smart pointers on C++ application

Zoltan Padrah zoltan.padrah at gmail.com
Sun May 24 16:26:06 UTC 2015


OK. When there will be enough time (ever?), those smart pointers could
be replaced with smart enough application logic.


2015-05-17 1:02 GMT+03:00 Alan Grimes <ALONZOTG at verizon.net>:
> Zoltan Padrah wrote:
>>   Hi,
>>
>> before actually starting to fill the code with smart pointers, I want
>> to start a discussion about it.
>>
>> As I remember, Alan used to say that he doesn't like smart pointers,
>> because they show that the code that uses them is not well thought-out
>> (feel free to correct me...).
>>
>> My current opinion is that my time is limited, so I want to get done
>> as much as I can in a given time. So I prefer to use solutions that
>> will work reliably and are simple and fast to implement, instead of
>> analyzing a codebase for hours. So I prefer to use smart pointers,
>> which can save me a lot of time and effort. Of course I don't want to
>> over-use them, but I think they are a good pragmatic approach for
>> fixing memory-handling related issues.
>>
>> What is your opinion?
>
> Yeah, we are trying to re-bootstrap the project so I would tend to say
> OK to smart pointers... Naturally, i'll treat them like TODO issues. ;)
>
> --
> IQ is a measure of how stupid you feel.
>
> Powers are not rights.
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Ktechlab-devel mailing list
> Ktechlab-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ktechlab-devel




More information about the Ktechlab-devel mailing list