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

Alan Grimes ALONZOTG at verizon.net
Sat May 16 22:02:13 UTC 2015


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.





More information about the Ktechlab-devel mailing list