<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Oliver Saywell</title>
    <description>The latest articles on Forem by Oliver Saywell (@osaywell).</description>
    <link>https://forem.com/osaywell</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F29887%2F0e0c309c-ed32-4deb-b16d-87028e1b56ab.png</url>
      <title>Forem: Oliver Saywell</title>
      <link>https://forem.com/osaywell</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/osaywell"/>
    <language>en</language>
    <item>
      <title>When to use exceptions? </title>
      <dc:creator>Oliver Saywell</dc:creator>
      <pubDate>Sun, 15 Jul 2018 21:53:13 +0000</pubDate>
      <link>https://forem.com/osaywell/when-to-use-exceptions--2abh</link>
      <guid>https://forem.com/osaywell/when-to-use-exceptions--2abh</guid>
      <description>

&lt;p&gt;When is the right time to use exceptions and when should you just code against something? Really interested to see what people's opinions are on this one! &lt;/p&gt;


</description>
      <category>discuss</category>
      <category>design</category>
      <category>languageagnostic</category>
    </item>
    <item>
      <title>Who of you use getters &amp; setters and when?</title>
      <dc:creator>Oliver Saywell</dc:creator>
      <pubDate>Wed, 20 Dec 2017 09:34:41 +0000</pubDate>
      <link>https://forem.com/osaywell/who-of-you-use-getters--setters-and-when-41lj</link>
      <guid>https://forem.com/osaywell/who-of-you-use-getters--setters-and-when-41lj</guid>
      <description>&lt;p&gt;I've been developing commercially for coming up to a year now and work in a very small team of developers. The majority of what I have learnt with PHP I learnt myself but I have also learnt a lot in the last 6 months on an Open Uni course studying OOP with Java. &lt;/p&gt;

&lt;p&gt;I wouldn't say I have come across much PHP material that specifically mentions the use of getters and setters, neither does the existing code base at the company I work for seem to use getters and setters. On the flip side while studying Java with the OU they seem to be pushing getters and setters religiously. &lt;/p&gt;

&lt;p&gt;I am working on a new project and many of the classes I will be writing will be brand new classes introducing completely new functionality. So my question here is what is your experience with getters &amp;amp; setters and do you guys use them religiously regardless of language?&lt;/p&gt;

&lt;p&gt;Thanks in advance for your input. &lt;/p&gt;

</description>
      <category>discuss</category>
      <category>begginers</category>
      <category>oop</category>
      <category>php</category>
    </item>
  </channel>
</rss>
