<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Abhishek Shrivastava on Medium]]></title>
        <description><![CDATA[Stories by Abhishek Shrivastava on Medium]]></description>
        <link>https://medium.com/@ashrivastav2?source=rss-6ce17f781202------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*0NjCV96_9KvcmQTw.</url>
            <title>Stories by Abhishek Shrivastava on Medium</title>
            <link>https://medium.com/@ashrivastav2?source=rss-6ce17f781202------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 17:51:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashrivastav2/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Encapsulation ditched?]]></title>
            <link>https://medium.com/@ashrivastav2/encapsulation-ditched-428fc184aa76?source=rss-6ce17f781202------2</link>
            <guid isPermaLink="false">https://medium.com/p/428fc184aa76</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[csharp]]></category>
            <dc:creator><![CDATA[Abhishek Shrivastava]]></dc:creator>
            <pubDate>Mon, 09 May 2016 09:32:31 GMT</pubDate>
            <atom:updated>2016-05-09T09:32:31.865Z</atom:updated>
            <content:encoded><![CDATA[<p>Is it just me or seems like C# has said bye bye to encapsulation as we know it during past few years? I have been musing subconsciously about this for a while but it became clear to me when I started reading more on functional programming. There is not a single difference between an auto property with {get; set;} vs a public field. We were told that public fields are evil and should only manipulate via methods.</p><p>Well that led to everyone having a getter and a setter, which eventual led to language giving you a convenient way of doing things incorrectly. I say incorrectly because you are not supposed to give outside world access to your variable unless needed. And yet, it is so easy to do a {get; set;} that this is virtually all you see everyone doing by default instead of taking extra pain of enforcing encapsulation, let alone immutability (well, that’s a topic for another day). But for now, call it an initial attraction, but seems like functional approach captures this idea well of hiding the stuff you don’t need to know and hence reducing opportunities for errors by creating the black boxes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=428fc184aa76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clojure got me hooked]]></title>
            <link>https://medium.com/@ashrivastav2/clojure-got-me-hooked-414282e93b1d?source=rss-6ce17f781202------2</link>
            <guid isPermaLink="false">https://medium.com/p/414282e93b1d</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[clojure]]></category>
            <dc:creator><![CDATA[Abhishek Shrivastava]]></dc:creator>
            <pubDate>Mon, 09 May 2016 09:28:20 GMT</pubDate>
            <atom:updated>2016-05-09T09:28:46.201Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been a C# programmer most of my career and started wondering recently on what else is out there. Started with a few talks from Rich Hickey and I already joined the <a href="https://github.com/tallesl/Rich-Hickey-fanclub">fan club</a>. A little exposure with Clojure and Emacs, and I was hooked. It was so refreshing, brought out many irks of being an object oriented programming which were there in the sub conscious mind but never realized. Followed through with <a href="http://fsharpforfunandprofit.com/">a little F#</a>and started writing this stuff.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=414282e93b1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>