<div class="gmail_quote">On Mon, Dec 21, 2009 at 5:52 PM, Hugo Beauzee-Luyssen <span dir="ltr"><<a href="mailto:beauze.h@gmail.com">beauze.h@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote">2009/12/21 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:rem@videolan.org" target="_blank">rem@videolan.org</a>></span><div class="im"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le lundi 21 décembre 2009, Hugo Beauzee-Luyssen a écrit :<br>
<div>> A new singleton pattern was implemented in almost every dialog<br>
> classes. This patch adds a generic singleton implementation, and use<br>
> it in every dialog.<br>
<br>
</div>Making non-static data static looks like a step backward to me. I really<br>
don't see the point.<br></blockquote><div> </div></div><div>I really don't understand your point here.</div></div><font class="Apple-style-span" color="#888888"><br></font></blockquote><div><br></div><div>Let me rephrase : I don't understand what you mean by "making non static data" as everything that was static is still.</div>
<div>The only thing that changed is the addition of a generic singleton, to avoid rewriting the code each time a singleton is needed.</div><div>Every instance stay static, it just reduce the ammount of code.</div><div><br>
</div><div>Regards, </div></div><br>-- <br>Hugo Beauzée-Luyssen <br><br>