<?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 Asim Krishna Prasad on Medium]]></title>
        <description><![CDATA[Stories by Asim Krishna Prasad on Medium]]></description>
        <link>https://medium.com/@asimkprasad?source=rss-5c8c43e5dccc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*laOtJAmQno3prggxImrd4A.jpeg</url>
            <title>Stories by Asim Krishna Prasad on Medium</title>
            <link>https://medium.com/@asimkprasad?source=rss-5c8c43e5dccc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:40:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@asimkprasad/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[3 years at Google]]></title>
            <link>https://medium.com/@asimkprasad/3-years-at-google-f8b7d0bf1d30?source=rss-5c8c43e5dccc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8b7d0bf1d30</guid>
            <dc:creator><![CDATA[Asim Krishna Prasad]]></dc:creator>
            <pubDate>Wed, 24 Jun 2020 16:57:46 GMT</pubDate>
            <atom:updated>2020-06-27T04:52:33.992Z</atom:updated>
            <content:encoded><![CDATA[<h4>Learnings of a noobler!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8YgHL_tab5fUir63g5i-OA.jpeg" /></figure><p>I joined Google 3 years back and got a chance to build products from scratch in GPay India. The journey has been amazing with the best part being the people I worked with. I joined right out of college, so I got to learn a great deal here.</p><p>All of us value different things, as for me, I value connecting with people and building relationships (Testing question: <em>If not enforced, would you like to work with me?</em>). So, this document is not a list of recommendations or teachings, it’s an introspection, listing key learning…</p><p><strong>Table of Contents</strong><br><a href="#ee71"><strong>Tech</strong></a><br>… <a href="#2f08"><em>Writing good code is hard</em></a><em><br>… </em><a href="#f4f7"><em>Bugs are never intentional</em></a><em><br>… </em><a href="#cf50"><em>Multiple knobs are dangerous</em></a><em><br>… </em><a href="#d658"><em>Iterate fast</em></a><em><br>… </em><a href="#d9d8"><em>Code is cheap</em></a><em><br>… </em><a href="#340a"><em>Don’t code on prediction</em></a><em><br>… </em><a href="#ac07"><em>Keep doors open</em></a><em><br>… </em><a href="#33bb"><em>Simplify frequent use cases</em></a><em><br>… </em><a href="#44dd"><em>Wiser default option</em></a></p><p><a href="#ed01"><strong>General</strong></a><br>… <a href="#fadf">Listening is hard &amp; super-useful</a><br>… <a href="#b228">We see what we want to</a><br>… <a href="#96b9">Attention management</a><br>… <a href="#edb6">Being open to feedback</a><br>… <a href="#c2f5">Effective processes</a><br>… <a href="#7743">Productive meetings</a><br>… <a href="#3e57">Scary is good</a><br>… <a href="#6eb1">Explorations beyond software</a><br>… <a href="#c00c">Ideas over coffee</a><br>… <a href="#98f9">Some battles are not worth fighting</a></p><h3>Tech</h3><h3>1. Writing good code is hard</h3><p><strong>“But this works!”</strong>, is not even an argument. I took some time to learn this. It’s not about making things work, that’s easy. Writing code/designing systems which are open to extensions and are flexible is hard, <em>really hard</em>, and losing sight of the bigger picture when implementing a small fix is super easy.</p><p>We can always put an <em>if</em> and get done with it, easy right? Or, we can handle it in a way which is consistent with the existing design. Ask, <em>if we had to design this system from scratch with this new requirement, what would we have done?</em></p><p>It’s almost never worth adding hacks (yes, no one comes back to clean things up), a code is written once but read hundreds of times.<a href="#61bd">⁰</a></p><h3>2. Bugs are never intentional</h3><p><strong>“I know this is safe, we don’t need a flag/test for this.”</strong>, I have said this multiple times when I was asked to put changes behind a flag or write more extensive tests under deadline.</p><p>Well surprise, but, no one introduces bugs intentionally. There can always be flows which we are not aware of, or have implicit assumptions. It’s always better to have a safety net. Ask, <em>what if things go wrong, how would we damage control</em>.</p><p>The cost of fixing things (if at all possible), almost always outweighs the tiny gain of not safeguarding.</p><h3>3. Multiple knobs are dangerous</h3><p>Guarding changes is good. Having multiple knobs is dangerous.</p><p>Consider this example:</p><p><em>EnableCache</em> is one flag, and <em>DisableStorageCall</em> is another.</p><p>This setup calls for one important question: What does <em>EnableCache: True</em> and <em>DisableStorageCall: False</em> combination mean?</p><p>Ask, <em>do I need to change things at multiple places to achieve a single objective</em>?</p><p>Have a single knob (extend it) for a single behavior. In case there has to be multiple touch points, document/enforce it at all the places.</p><h3>4. Iterate fast</h3><p>In my initial days, when designing a solution, I would try to <strong>implement the perfect system</strong>, which led to no usable product coming out for months.</p><p>The lesson I learnt was, while it is good to have a vision, it is equally important to iterate on the solution and keep getting new versions out, not blocking on a perfect system. Divide the project into milestones and <strong>be open for the project to take a shape that was not expected</strong> during inception.</p><p>Small iterations come with learning and shape the longer vision.<a href="#a829">¹</a></p><h3>5. Code is cheap</h3><p><strong>“I have already coded it up, do I really need to change it?”</strong>, an argument made when I know the reviewer is correct and I am too lazy to change things.</p><p>While for a single change, it might seem OK to introduce a hacky solution. In the large scheme of things, these hacks build up and add cognitive load to anyone trying to understand the system. The tiny time advantage O(hrs) that we get from not rewriting things the correct way, results in multiple readers spending huge time O(days) in understanding.</p><p>Be open to refactor/rewrite, no hack is worth it.</p><h3>6. Don’t code on prediction</h3><p><strong>“We would need this in future.”</strong>, we won’t. YAGNI is not hypothetical.</p><p>It is exciting to build something which is not needed right now, in anticipation of requirement. This type of code is generally rendered useless when that requirement (if at all) actually comes.<a href="#bd7e">²</a></p><p>Having said this..</p><h3>7. Keep doors open</h3><p>While it is useless to implement things which don’t have clear requirements, it is important to keep the system flexible to allow extensions. Ask, <em>if implementing A would close doors on doing B and C in future.</em></p><p>Don’t make systems rigid to extension.</p><h3>8. Simplify frequent use cases</h3><p>In my initial days, I would go through all the corner cases possible and try to handle them all in a way that it all becomes easy.</p><p>This approach can be problematic, consider this example:</p><p>We are building a system which can handle use cases A, B and C.</p><p><strong>A</strong> happens very frequently (twice a day), <strong>B</strong> (once in a month) and <strong>C</strong> (once in a year). If we have this trade-off:</p><ol><li>make <strong>A</strong> super easy to do O(mins), <strong>B</strong> a little harder O(hrs) and <strong>C</strong> really hard O(days)</li><li>make system really handle all the use-cases properly resulting in all use cases taking O(hrs)</li></ol><p>Option 1 is the way to go.</p><p>The most frequent use case should be the simplest possible even if it means making the rare use case a little harder.</p><h3>9. Wiser default option</h3><p>Experimentally it has been shown that the default option is what majority of the users/clients will choose. Make default options of your API/product/framework wiser and obvious from the client’s point of view.<a href="#88d9">³</a></p><h3>General</h3><h3>1. Listening is hard &amp; super-useful</h3><p>This took me some time, still half-way, not jumping on a topic, but this one skill has helped me more than anything. Just listening to views/opinions and absorbing things.<a href="#8170">⁴</a></p><h3>2. We see what we want to</h3><p>I have spent time doing experiments and read and noticed how we find data which supports our view of the world. It is critical to play devil’s advocate and look for counter examples.<a href="#4796">⁵</a></p><h3>3. Attention management</h3><p>Inherently we want to spend less time and get more done. When talking to people, it is important to deliver the message effectively while we still have the attention of the receiver.</p><p>On similar lines, what happens when you have a flaky alert which fires every hour without any required action? Since we asked for attention multiple times without any message, it desensitizes the receiver.</p><h3>4. Being open to feedback</h3><p>Asking for critical feedback is one part of getting feedback, taking it in an effective manner is totally different. Not getting defensive while getting feedback is crucial for getting honest feedback. This is where listening and probing is helpful.</p><p>One view point to help not getting defensive is, either we’ll know what we can improve on, or, we know there has been a gap in what we are doing and what it is perceived as.</p><h3>5. Effective processes</h3><p>I am a person who works on lists. There is a list for everything, I think and talk in lists, create dashboard for things, track things extensively. I try to build processes and follow them.</p><p>The lesson I learnt is, while it is important to stay organized, there is a cost to every process, which is easy to miss, and can outweigh advantages.</p><p>For example, creating one tracker for a project P and separate trackers for every milestone (Pm₀, Pm₁, …) might not be worth it for a 2 week project and might be as effective as creating one single tracker.</p><p>Have few but effective processes.</p><h3>6. Productive meetings</h3><p>I learnt to make my meetings productive.</p><p>Every meeting has an agenda, maybe a doc which needs to be read before meeting and agenda reinforces that fact. This is especially important with a larger group of people.</p><p>Every recurring meeting has a success and failure criteria, if failure criterion is met, recurring meeting needs to be re-thought (less frequent or deleted).</p><p>The agenda needs to be pointed and focused, notice the difference:</p><blockquote>Here is the design doc.<br>Can you please review this and put your questions in the doc?</blockquote><p>—</p><blockquote>Here is the design doc.<br>We will NOT be going through the design in the review meeting and will only resolve the comment to keep it focused.<br>Here the parts which are still not completely finalized, would be great to get feedback on these sections particularly:<br>Module A is going to have high latency.<br>Module B needs a robust retry mechanism.</blockquote><h3>7. Scary is good</h3><p>It is easy to get comfortable with learning a few things that are needed for day to day work and not explore other tools/frameworks or skills.</p><p>I got this from my first manager, where I just explored tools for fun and it has helped me develop a basic understanding of a variety of them and hence come up with alternatives when designing a solution.</p><h3>8. Explorations beyond software</h3><p>I have picked up new skills, mostly motivated by my colleagues. I went to the gym for a year, improved my diet, started reading books outside of the software domain, played pool, TT.</p><p>This helped in building a perspective about things, changed the way I look at things even in my day-to-day work and built relationships, which is personally very important to me.</p><h3>9. Ideas over coffee</h3><p>Started valuing informal discussions. Whether on lunch table or over coffee, I ask people about the projects they are working on, the problem they are solving and share details of my project. These discussions led to really fresh ideas, which helped shape my projects.</p><h3>10. Some battles are not worth fighting</h3><p>While we all have our own preferences of viewing/doing things, sometimes, it’s just not worth debating over. For example, should an object in an interface be AutoValue or proto, is not something to discuss for a day or even mins.</p><p>[0] <em>A Philosophy of Software Design</em> book by John Ousterhout [<a href="https://www.youtube.com/watch?v=bmSAYlu0NcY">tech-talk</a>].</p><p>[1] calm.com changed from meditation app to sleep-easy app because users were using the app at night to relax [<a href="https://youtu.be/6dq9qIuY4GA?t=366">interview-segment</a>].</p><p>[2] Three flaws of software design [<a href="https://www.youtube.com/watch?v=JOAq3YN45YE">video1</a>, <a href="https://www.youtube.com/watch?v=eCg_VoFW46s">video2</a>, <a href="https://www.youtube.com/watch?v=0wxyOng0-14">video3</a>].</p><p>[3] <em>Nudge</em> book by Richard Thaler [<a href="https://en.wikipedia.org/wiki/Libertarian_paternalism#Examples_of_policies">wiki-page</a>].</p><p>[4] <em>The Making of a Manager</em> book by Julia Zhuo [<a href="https://fellow.app/wp-content/uploads/2019/03/Questionsversion2.png">illustration</a>].</p><p>[5] <em>Thinking, Fast and Slow</em> book by Daniel Kahneman [<a href="https://en.wikipedia.org/wiki/Thinking,_Fast_and_Slow">wiki-page</a>].</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8b7d0bf1d30" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>