<?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: Ashish Reddy</title>
    <description>The latest articles on Forem by Ashish Reddy (@ashishlimitless).</description>
    <link>https://forem.com/ashishlimitless</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%2F3300484%2F0ae2e177-ab0b-4ba1-a88c-b9cb0955fb32.jpg</url>
      <title>Forem: Ashish Reddy</title>
      <link>https://forem.com/ashishlimitless</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ashishlimitless"/>
    <language>en</language>
    <item>
      <title>1.Collections and ABC'S</title>
      <dc:creator>Ashish Reddy</dc:creator>
      <pubDate>Wed, 08 Oct 2025 16:52:53 +0000</pubDate>
      <link>https://forem.com/ashishlimitless/collections-and-abcs-b9h</link>
      <guid>https://forem.com/ashishlimitless/collections-and-abcs-b9h</guid>
      <description>&lt;p&gt;&lt;strong&gt;Collections:&lt;/strong&gt; A built-in module in python standard library that helps us to create a specialized containers that go beyond built in ones(list,tuples etc).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ABC:&lt;/strong&gt; ABC means Abstract Base Class which helps in defining interfaces in python for collections. &lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;collections is a also a ABC that must extends three important interfaces:&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Iterable  (i.e implementation of &lt;strong&gt;iter&lt;/strong&gt; Dunder method)&lt;/li&gt;
&lt;li&gt;Sized (i.e implementation of &lt;strong&gt;len&lt;/strong&gt; Dunder method)&lt;/li&gt;
&lt;li&gt;Container (i.e implementation of &lt;strong&gt;contains&lt;/strong&gt; Dunder method)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There are 3 important and most useful categories in Collections API:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Sequence (generalizing the built-in lists,strings in python)&lt;/li&gt;
&lt;li&gt;Mapping  (dict/default dict is implemented and other methods)&lt;/li&gt;
&lt;li&gt;Sets     (Interface for sets and include various methods)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Sequence is the only one which also implements the reverse Dunder method (&lt;strong&gt;reverse&lt;/strong&gt;)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note: To create a custom container you need not to inherit (become child) of one of the class instead simply implement the specialized Dunder methods required...&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Virtual subclassing:&lt;/strong&gt; Python internally registered containers like(arrays,etc) except built-in's  under different categories of ABC's (one can verify this by using isInstance and isSubclass methods of python)&lt;br&gt;
The below code will work for python version &amp;gt;3.7 (for &amp;lt;=3.6 it array was not added recognized as subclass)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from array import array
from collections.abc import Sequence
arr=array('i',[7,8,9,10])
lst=[1,2,3,4,5]
print(isinstance(arr, Sequence))   # ✅ True — behaves like a Sequence
print(issubclass(array, Sequence))  # ✅ True — declared as subclass
print(isinstance(lst, Sequence))   # ✅ True — behaves like a Sequence
print(issubclass(list, Sequence))  # ✅ True — declared as subclass

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the next Blog lets deep dive into Sequences&lt;/p&gt;

</description>
      <category>python</category>
      <category>oop</category>
      <category>programming</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>🧠 From Code to Clarity: A Journey Through Backend, DevOps, and Beyond….</title>
      <dc:creator>Ashish Reddy</dc:creator>
      <pubDate>Wed, 08 Oct 2025 15:59:37 +0000</pubDate>
      <link>https://forem.com/ashishlimitless/from-code-to-clarity-a-journey-through-backend-devops-and-beyond-4icd</link>
      <guid>https://forem.com/ashishlimitless/from-code-to-clarity-a-journey-through-backend-devops-and-beyond-4icd</guid>
      <description>&lt;p&gt;Holla my fellow developers,&lt;/p&gt;

&lt;p&gt;&lt;code&gt;print("Lets start blogging.....")&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I am going to start publishing blogs on backend, system design (especially on LLD) which helps for machine coding rounds, DevOps stuff.&lt;br&gt;
Many important , must know, confusing topics of languages like Python, Go and LLD in the respective languages will be published.&lt;/p&gt;

&lt;p&gt;I promise that I will turn this into a good resource for interviews, deep dives and get grip on the topic.&lt;/p&gt;

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