<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Singleton Pattern'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 07 Apr 2026 09:23:55 +0000</lastBuildDate>
    <item>
      <title>iroybot said on 30/Sep/2009</title>
      <link>https://snipplr.com/view/11647/singleton-pattern</link>
      <description>&lt;p&gt;@adix I do this for performance reasons. This has several benefits for form validation, etc. pp&#13;
&#13;
even though you would end up with the same instance on every pageload, saving the object in a session lets you access the exact same instance throughout the whole website.&#13;
&#13;
What are the downsides?&lt;/p&gt;</description>
      <pubDate>Wed, 30 Sep 2009 11:55:28 UTC</pubDate>
      <guid>https://snipplr.com/view/11647/singleton-pattern</guid>
    </item>
    <item>
      <title>iroybot said on 30/Sep/2009</title>
      <link>https://snipplr.com/view/11647/singleton-pattern</link>
      <description>&lt;p&gt;@adix I do this for performance reasons. This has several benefits for form validation, etc. pp&#13;
&#13;
even though you would end up with the same instance on every pageload, saving the object in a session lets you access the exact same instance throughout the whole website.&#13;
&#13;
What are the downsides?&lt;/p&gt;</description>
      <pubDate>Wed, 30 Sep 2009 11:55:39 UTC</pubDate>
      <guid>https://snipplr.com/view/11647/singleton-pattern</guid>
    </item>
  </channel>
</rss>
