<?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 Shubham Mishra on Medium]]></title>
        <description><![CDATA[Stories by Shubham Mishra on Medium]]></description>
        <link>https://medium.com/@shubham.m7336?source=rss-a23b863ea95f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BpqjabpL-iausAIa</url>
            <title>Stories by Shubham Mishra on Medium</title>
            <link>https://medium.com/@shubham.m7336?source=rss-a23b863ea95f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 15:00:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shubham.m7336/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[I Used to Write Code. Now I’m Not Sure What My Job Is Anymore.]]></title>
            <link>https://medium.com/@shubham.m7336/i-used-to-write-code-now-im-not-sure-what-my-job-is-anymore-58f83e64ac03?source=rss-a23b863ea95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/58f83e64ac03</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[feeling-stuck]]></category>
            <category><![CDATA[overwhelmed-at-work]]></category>
            <category><![CDATA[is-ai-taking-over-jobs]]></category>
            <category><![CDATA[ai-code-review]]></category>
            <dc:creator><![CDATA[Shubham Mishra]]></dc:creator>
            <pubDate>Sun, 23 Aug 2026 07:14:30 GMT</pubDate>
            <atom:updated>2026-08-23T07:14:30.537Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EJVQhKeFhIB0T4cdQzErlQ.png" /><figcaption>Feels like this sometimes</figcaption></figure><h3>AI changed my workflow faster than I could form an opinion about it — and I’m still figuring out how to adapt</h3><p>A few years ago, coding with AI meant one small thing to me: I’d start typing, a gray suggestion would appear, and I’d hit Tab. A faster keyboard, basically. It never really changed <em>how</em> I worked — I was still reading the codebase, planning the change, and writing most of it myself.</p><p>I can’t say that anymore, and honestly I’m still catching up to what replaced it.</p><p>Somewhere in the last stretch, autocomplete turned into agents. And I don’t mean that as a tidy narrative — I mean I looked up one day and the way I build software was different, and I hadn’t consciously decided to change it. It just happened, fast, and now I’m sort of standing in the middle of it trying to work out what I’m supposed to be doing.</p><h3>The shift is real, and it snuck up on me</h3><p>The old model was simple: AI predicts the next line, I do everything else. If I turned it off, my day looked roughly the same.</p><p>The new model isn’t that. An agent doesn’t guess my next keystroke — it takes a task, plans it, edits across multiple files, runs the thing, notices it broke, and tries again. I can hand off a whole chunk of work and walk away.</p><p>That’s genuinely useful. I’m not here to complain about it. But it also quietly dissolved the thing I thought of as “my work,” and I haven’t found the new shape yet.</p><h3>I don’t know what I should still be writing by hand</h3><p>This is the part I keep getting stuck on. If an agent can produce a working feature faster than I can, what code am I actually supposed to write myself?</p><p>I don’t have a clean rule. Some days I let it handle almost everything and feel productive. Other days I write something from scratch just because it feels <em>wrong</em> not to, and I can’t fully justify why. Is that instinct protecting something important, or is it just nostalgia for how I used to work? I genuinely don’t know.</p><p>What I <em>notice</em> is that the value of typing individual lines has dropped, and something else has quietly moved to the center: whether I understand the overall structure. The architecture, the intent, how the pieces are supposed to behave together. I can generate code I couldn’t have written as quickly — but if I don’t understand the shape of what I’m building, I can’t tell whether any of it is right. That feels like where my attention <em>wants</em> to go now. Whether that’s the correct instinct, I’m still testing.</p><h3>Verification feels heavier than it used to</h3><p>Here’s a strange side effect. AI can produce a <em>lot</em> of code very quickly — and someone still has to decide whether it actually works and does what was intended. That someone is me.</p><p>So testing and manual verification, which I used to think of as the chore <em>after</em> the real work, increasingly feel like the real work. The generation is cheap now. The judgment about whether the result matches the intended behaviour is not. I’m spending more of my energy there than I ever expected to, and I’m not sure I’ve found a good rhythm for it yet.</p><h3>The context-switch problem I can’t solve</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qs5xLHw4GiV7-Kp3wNB_NQ.png" /></figure><p>This one bothers me more than I expected.</p><p>I’ll give an agent a task and it works for 30, 45, sometimes 60 minutes. So naturally I switch to something else — another task, email, a completely different part of the project. My brain goes somewhere else.</p><p>And then it just… finishes. Suddenly. And now I’m supposed to instantly drop back into deep review mode — reading a big diff carefully, debugging, testing, reasoning about edge cases — for work I wasn’t mentally holding a moment ago. That cold-start into careful review is genuinely hard. I lose the thread. I miss things I wouldn’t have missed if I’d been in it the whole time.</p><p>I don’t have a system for this. I’ve tried batching, tried staying half-attached, tried queueing reviews — nothing feels right yet. If you’ve figured this out, I actually want to know.</p><h3>And quietly, I worry about my own hands</h3><p>I’ll be honest about the uncomfortable part. When I let AI carry more and more, I can feel a small voice asking whether I’m slowly losing some of my own ability. Not dramatically — but the muscles you don’t use don’t stay strong.</p><p>I don’t know how real that fear is. Maybe it’s the same panic people had about IDEs, or Stack Overflow, or high-level languages. Maybe it’s different this time. I can’t tell from inside it. But it’s there, and pretending it isn’t would be dishonest.</p><h3>So I don’t have a conclusion — I have questions</h3><p>I’m not writing this to hand anyone a workflow, because I don’t have one I trust yet. The tools keep shifting faster than I can form stable habits, and every time I think I’ve settled into a way of working, something changes and I’m recalibrating again.</p><p>What I’d genuinely like is to hear how other people are handling it. So, honestly:</p><ul><li>How much of your development are you letting AI handle right now?</li><li>Do you still write features from scratch — and if so, which ones, and why those?</li><li>When you’re faced with a large pile of AI-generated code, how do you review it? Line by line, or do you focus more on architecture, behaviour, and tests?</li><li>How do you deal with the mental switch when an agent grinds away for an hour and then suddenly dumps a finished task in your lap?</li><li>And do you ever worry about your own skills quietly eroding — or is that not a real concern?</li></ul><p>I don’t think there’s one right answer here yet. But I’d rather figure it out in the open, with other people who are also mid-transition, than pretend I’ve already got it sorted.</p><p>If any of this sounds familiar, tell me how you’re coping. I’m still working it out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58f83e64ac03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nesting Hurts My Eyes — Here’s How I Deal With It]]></title>
            <link>https://medium.com/@shubham.m7336/nesting-hurts-my-eyes-heres-how-i-deal-with-it-2da9d37dd16a?source=rss-a23b863ea95f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2da9d37dd16a</guid>
            <category><![CDATA[why-nesting-is-bad]]></category>
            <category><![CDATA[avoid-nesting]]></category>
            <category><![CDATA[linus-torvalds]]></category>
            <category><![CDATA[guard-clause]]></category>
            <category><![CDATA[nesting]]></category>
            <dc:creator><![CDATA[Shubham Mishra]]></dc:creator>
            <pubDate>Tue, 12 May 2026 09:25:34 GMT</pubDate>
            <atom:updated>2026-05-12T09:25:34.461Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rmHSyR_v42hu-RSXZeehRA.png" /><figcaption>Image generated with <a href="https://gemini.google.com/app?utm_source=deepmind.google&amp;utm_medium=referral&amp;utm_campaign=gdm&amp;utm_content=">Gemini</a> (after an hour of prompting gymnastics)</figcaption></figure><p>I’ll admit — the title might sound a little extreme. I’m not some diehard “never nester,” but I really do like to avoid nesting my code 🙂.</p><p>Of course, there’s no rule written in the law books (or even in the dusty corners of Stack Overflow) that says <em>“Thou shalt not nest.”</em> But in this article, I’ll try to gently nudge you toward writing flatter, cleaner code — or at least show you why I prefer it that way.</p><p>First things first: let’s look at what the general consensus is. Is it just you and me who feel this way, or is the majority of developers also trying to keep nesting to a minimum?</p><p>And if you’re still not convinced, I’ll leave you with a quote from someone who’s just a <em>tiny bit</em> more experienced than me in these matters:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_vbuT04buWANaWoqwlWPCw.png" /><figcaption><a href="https://en.wikipedia.org/wiki/Linus_Torvalds"><strong>Linus Torvalds</strong></a> offering his famously gentle coding advice</figcaption></figure><h3>Why Too Much Nesting Hurts</h3><p>The main reason I avoid deep nesting is simple: <strong>it makes my brain work harder than it needs to.</strong></p><p>When you’re several ifs, fors, and elses deep, your mental stack overflows. You have to remember not only what’s happening right now, but also the entire chain of conditions that got you there. That mental load adds up fast — and suddenly a function that should be easy to skim looks like a puzzle you need to solve every time you read it.</p><p>So how do you reduce that complexity? For me, two simple tricks make a world of difference:</p><h3>1. Guard Clauses</h3><p>Put all your <em>“is this even valid?”</em> checks at the top of the function and get them out of the way early. That way, the real work of the function is separated from the bookkeeping.</p><p>Instead of this:</p><pre>function processUser(user) {<br>  if (user) {<br>    if (user.isActive) {<br>      if (user.emailVerified) {<br>        sendWelcomeEmail(user);<br>      }<br>    }<br>  }<br>}</pre><p>Do this:</p><pre>function processUser(user) {<br>  if (!user) return;<br>  if (!user.isActive) return;<br>  if (!user.emailVerified) return;<br><br>  sendWelcomeEmail(user);<br>}</pre><h3>2. Extract Functions</h3><p>If your function is doing too many things, split it up. Keep the loop or high-level control flow in the main function, and push the details into a helper.</p><p>Instead of this:</p><pre>function processOrders(orders) {<br>  for (const order of orders) {<br>    if (order.isPaid) {<br>      if (!order.isShipped) {<br>        shipOrder(order);<br>        console.log(&quot;Order shipped:&quot;, order.id);<br>      }<br>    }<br>  }<br>}</pre><p>Do this:</p><pre>function processOrders(orders) {<br>  for (const order of orders) {<br>    handleOrder(order);<br>  }<br>}<br><br>function handleOrder(order) {<br>  if (!order.isPaid) return;<br>  if (order.isShipped) return;<br><br>  shipOrder(order);<br>  console.log(&quot;Order shipped:&quot;, order.id);<br>}</pre><h3>Where This Really Starts to Matter</h3><p>I could’ve gone into a lot more detail here. The examples above might not fully justify a strict “never nest” mindset on their own, but as codebases grow larger, the benefits become much more obvious. Flatter code is easier to read, easier to reason about, and much cleaner to maintain over time.</p><p>Interestingly, modern AI coding tools follow many of these same principles as well. Tools like <a href="https://chatgpt.com/?utm_source=chatgpt.com">ChatGPT</a>, <a href="https://www.cursor.com/?utm_source=chatgpt.com">Cursor</a>, and <a href="https://github.com/features/copilot?utm_source=chatgpt.com">GitHub Copilot</a> generally produce better results when the control flow is simple and responsibilities are clearly separated. Deep nesting makes code harder for both humans and AI systems to work with.</p><p>If you want to explore the idea in more depth, this YouTube video was a big inspiration for this article:</p><p><a href="https://www.youtube.com/watch?v=CFRhGnuXG-4">https://www.youtube.com/watch?v=CFRhGnuXG-4</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2da9d37dd16a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>