<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>JS Best Practices on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/js-best-practices/</link><description>Recent content in JS Best Practices on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Sat, 16 May 2026 18:42:12 +0100</lastBuildDate><atom:link href="http://ghafoorsblog.com/tags/js-best-practices/index.xml" rel="self" type="application/rss+xml"/><item><title>What and why in JS</title><link>http://ghafoorsblog.com/posts/js/09-what-and-why/</link><pubDate>Wed, 03 May 2017 23:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/posts/js/09-what-and-why/</guid><description>&lt;h2 id="10-since-js-has-no-interfaces-how-it-is-implemented"&gt;1.0 Since JS has no interfaces how it is implemented&lt;/h2&gt;
&lt;p&gt;To understand what interface do and what is required one needs to have some object oriented programming knowledge. It is similar to class but can not be instantiated. It only exposed methods that interested object or class can implement the way they want. When a class implements an interface it is said to inherits the abstract functions, along with any other members defined in interface. e.g, any constant , methods , static methods and any nested types. NOte&amp;gt; Abstract methods do not have any code that are only blue prints for those who inherit them so provide the body by writing the code.&lt;/p&gt;</description></item></channel></rss>