<?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: bin</title>
    <description>The latest articles on Forem by bin (@cgithub123).</description>
    <link>https://forem.com/cgithub123</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%2F523060%2Fd1e50a9b-bdd1-4b49-bac2-5c95871b1e8d.jpeg</url>
      <title>Forem: bin</title>
      <link>https://forem.com/cgithub123</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/cgithub123"/>
    <language>en</language>
    <item>
      <title>30-Discriminated Union and Exhaustiveness Checking with never</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Wed, 17 Sep 2025 08:31:21 +0000</pubDate>
      <link>https://forem.com/cgithub123/30-discriminated-union-and-exhaustiveness-checking-with-never-4340</link>
      <guid>https://forem.com/cgithub123/30-discriminated-union-and-exhaustiveness-checking-with-never-4340</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffyf7phs14oun178t66wt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffyf7phs14oun178t66wt.png" alt=" " width="800" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>29-InstanceOf and Type Predicates</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Wed, 17 Sep 2025 08:06:17 +0000</pubDate>
      <link>https://forem.com/cgithub123/29-instanceof-and-type-predicates-j7o</link>
      <guid>https://forem.com/cgithub123/29-instanceof-and-type-predicates-j7o</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk0dr2004y02efde1dl7m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk0dr2004y02efde1dl7m.png" alt=" " width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fobkvb4kom9lo1inv8q8q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fobkvb4kom9lo1inv8q8q.png" alt=" " width="800" height="296"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>28-The in operator narrowing</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Wed, 17 Sep 2025 07:40:52 +0000</pubDate>
      <link>https://forem.com/cgithub123/28-the-in-operator-narrowing-e78</link>
      <guid>https://forem.com/cgithub123/28-the-in-operator-narrowing-e78</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvnoivut36uzq4p2222ty.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvnoivut36uzq4p2222ty.png" alt=" " width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;check if a property exists in that object.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>27-Type Narrowing</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Wed, 17 Sep 2025 07:33:31 +0000</pubDate>
      <link>https://forem.com/cgithub123/27-type-narrowing-895</link>
      <guid>https://forem.com/cgithub123/27-type-narrowing-895</guid>
      <description>&lt;p&gt;type of =&amp;gt; like java, to check if an object is an specific type.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz7loa7w1ryei6zekq12n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz7loa7w1ryei6zekq12n.png" alt=" " width="800" height="287"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>26-Generics class</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Wed, 17 Sep 2025 07:20:18 +0000</pubDate>
      <link>https://forem.com/cgithub123/26-generics-class-nba</link>
      <guid>https://forem.com/cgithub123/26-generics-class-nba</guid>
      <description>&lt;p&gt;extends can give constraints to generics method&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fggs3xm2jf5f40ulanuz6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fggs3xm2jf5f40ulanuz6.png" alt=" " width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>25-Generics in array and arrow funtion</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Wed, 03 Sep 2025 07:31:43 +0000</pubDate>
      <link>https://forem.com/cgithub123/25-generics-in-array-and-arrow-funtion-3hii</link>
      <guid>https://forem.com/cgithub123/25-generics-in-array-and-arrow-funtion-3hii</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/..." class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/..." alt="Uploading image" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>24-Generics</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Wed, 03 Sep 2025 07:07:43 +0000</pubDate>
      <link>https://forem.com/cgithub123/24-generics-3oak</link>
      <guid>https://forem.com/cgithub123/24-generics-3oak</guid>
      <description>&lt;p&gt;make your code reuseable.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>23-Abstract class</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Tue, 02 Sep 2025 08:17:37 +0000</pubDate>
      <link>https://forem.com/cgithub123/23-abstract-class-1k95</link>
      <guid>https://forem.com/cgithub123/23-abstract-class-1k95</guid>
      <description>&lt;p&gt;we can not use new object to create an abstract class.&lt;/p&gt;

&lt;p&gt;we need to define a class that extends this abstract class. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0y4yn9dh7dfpaik3kqfv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0y4yn9dh7dfpaik3kqfv.png" alt=" " width="800" height="574"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;we can add abstract method in abstract class.&lt;/p&gt;

</description>
      <category>oop</category>
      <category>programming</category>
      <category>softwareengineering</category>
      <category>developer</category>
    </item>
    <item>
      <title>22-why interface is important</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Mon, 01 Sep 2025 09:37:05 +0000</pubDate>
      <link>https://forem.com/cgithub123/22-why-interface-is-important-e07</link>
      <guid>https://forem.com/cgithub123/22-why-interface-is-important-e07</guid>
      <description>&lt;p&gt;interfaces can force classes which implement them to do something.&lt;/p&gt;

</description>
      <category>software</category>
      <category>programming</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>21-Pretected</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Fri, 29 Aug 2025 07:07:31 +0000</pubDate>
      <link>https://forem.com/cgithub123/21-pretected-4oba</link>
      <guid>https://forem.com/cgithub123/21-pretected-4oba</guid>
      <description>&lt;p&gt;child class cannot access private properties.&lt;/p&gt;

&lt;p&gt;we can use protected modifier to solve this issue.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>oop</category>
    </item>
    <item>
      <title>20-getter and setter</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Fri, 29 Aug 2025 06:59:00 +0000</pubDate>
      <link>https://forem.com/cgithub123/20-getter-and-setter-439f</link>
      <guid>https://forem.com/cgithub123/20-getter-and-setter-439f</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2g9591s9dyjgqyef8p5f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2g9591s9dyjgqyef8p5f.png" alt=" " width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;setter --&amp;gt; no return type.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>code</category>
    </item>
    <item>
      <title>19-Private Public</title>
      <dc:creator>bin</dc:creator>
      <pubDate>Fri, 29 Aug 2025 06:25:34 +0000</pubDate>
      <link>https://forem.com/cgithub123/19-private-public-2eke</link>
      <guid>https://forem.com/cgithub123/19-private-public-2eke</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzb3a9syyaeyuwns0uay7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzb3a9syyaeyuwns0uay7.png" alt=" " width="800" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;if you add private for a properity, it is only accessiable within the class.&lt;/p&gt;

&lt;p&gt;there is a synatx sugar which can simplify the code &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fccnvlm2ko5ai7ifswsp5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fccnvlm2ko5ai7ifswsp5.png" alt=" " width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
    </item>
  </channel>
</rss>
