<?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 Hani hashemi on Medium]]></title>
        <description><![CDATA[Stories by Hani hashemi on Medium]]></description>
        <link>https://medium.com/@hanihashemi?source=rss-e78d5980efb1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FEibVBPtPSL9kaYLmHkg0w.png</url>
            <title>Stories by Hani hashemi on Medium</title>
            <link>https://medium.com/@hanihashemi?source=rss-e78d5980efb1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:56:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hanihashemi/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[Are We Losing Control of Our Tools?]]></title>
            <link>https://medium.com/@hanihashemi/are-we-losing-control-of-our-tools-2d724c00f7c5?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d724c00f7c5</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai-tools]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Tue, 26 May 2026 13:50:15 GMT</pubDate>
            <atom:updated>2026-05-26T13:50:15.240Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7yaLyB7DIwiJWWg0SeLhhA.png" /></figure><p>My Android setup today looks very different from how it looked a few months ago. I am using Claude Code with custom slash commands and skills I built for my own workflow. My teammates have their own versions, some on Claude Code, some on Gemini, each with a different setup.</p><p>It is not just AI tools. We are building custom dashboards, IDE plugins, and small scripts to make the day easier. Some are shared. Most are not.</p><p>We used to share a stack. Now we share a goal, and that is it. Everything else, how we get there, what we use, and what we learn, has quietly become personal.</p><h3>Individuals Are Faster. Teams Are Not.</h3><p>In Q1 2026, a <a href="https://www.digitalapplied.com/blog/ai-coding-tool-adoption-2026-developer-survey">survey of 2,847 developers</a> found that developers now spend more time reviewing AI-generated code (11.4 hours per week) than writing new code (9.8 hours). That is a reversal from previous years. AI made writing fast. The cost moved into review.</p><p>GitLab calls this the <a href="https://www.marketscreener.com/news/gitlab-survey-reveals-the-ai-paradox-faster-coding-creates-new-bottlenecks-requiring-platform-sol-ce7d5fd8da8cf62d">“AI Paradox”</a>: coding is faster than ever, but the lack of shared standards is creating new bottlenecks.</p><p>This is not just my team. It is happening across the industry.</p><h3>The Invisibility Problem</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*MojXo32Ady3uQ9QzkO71aw.png" /></figure><p>Engineers have always had different setups. Different libraries. Different architecture patterns. Different testing frameworks. But those differences were always visible. They showed up in code review, in architecture docs, in PRs. We argued about them in the open.</p><p>AI tooling is different. The model I use, the prompts I write, the skills and commands I build. None of that shows up in the diff.</p><blockquote>Two engineers using different AI setups are not just making different library choices. They are producing code through pipelines the rest of the team cannot see.</blockquote><p>When the team is not aligned on what tools are being used and how, this invisibility creates real problems:</p><ul><li><strong>Code review becomes guesswork.</strong> I am reviewing only the output, with no view into where the model made a wrong assumption.</li><li><strong>The codebase drifts.</strong> Different AI setups have different defaults for naming and error handling. The same codebase grows in multiple directions at once.</li><li><strong>Pairing gets harder.</strong> Sitting next to a teammate now means first asking what is on their machine before you can look at the actual problem.</li></ul><h3>Everyone Is Building Their Own Way</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*A5QuWbKFq5ArpHzz4dV7-w.png" /></figure><p>We are in a transition period. There is no established way to use Claude Code on an Android team yet. So each developer invents their own approach alone.</p><blockquote>We each solve the same problems. How do I structure this prompt? What goes in the skill file? When should I stop trusting the model?</blockquote><p>The cost is duplication. Two engineers can spend an afternoon building roughly the same internal tool. It is wasted work that nobody notices, because the final PR still looks like progress.</p><h3>A Way Forward</h3><p>In a year or two, these patterns will harden into something close to industry standards. Until then, we have to stop building in private. I do not have all the answers, but here are the directions I am moving in:</p><ul><li><strong>Platform curator groups.</strong> Not gatekeepers. A few people who keep a living list of skills and commands that work for the team.</li><li><strong>A “what I use” page per role.</strong> A simple internal page. Short enough to read in five minutes. My current model, my system prompt, and the skills I am leaning on this week.</li><li><strong>Ten-minute showcases.</strong> Weekly sessions where one person shares their screen. Not to show their code, but to show their workflow.</li><li><strong>Write short, share often.</strong> Documentation for tools with a four-week lifespan should be a README, not a wiki. If it is helpful, post it to Slack immediately.</li></ul><h3>The Bottom Line</h3><p>We need to treat our AI configurations with the same rigor as our production code. Documented. Versioned. Visible.</p><p>The patterns will emerge and this will all seem obvious in hindsight. The real question is what you are doing in the meantime.</p><p>If your team is figuring this out, I would love to hear what is working and what is not.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d724c00f7c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Read the Book “Staff Engineer” and Decided I Don’t Want to Be One]]></title>
            <link>https://medium.com/@hanihashemi/i-read-the-book-staff-engineer-and-decided-i-dont-want-to-be-one-c64118204ddd?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c64118204ddd</guid>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[tech-leadership]]></category>
            <category><![CDATA[staff-engineer]]></category>
            <category><![CDATA[android-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Sat, 04 Apr 2026 01:40:26 GMT</pubDate>
            <atom:updated>2026-04-04T01:40:26.751Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/279/0*pWTY8YSQRsxIM0b5.jpg" /><figcaption>Staff Engineer: Leadership beyond the management track</figcaption></figure><p>I just finished <a href="https://staffeng.com/">Will Larson’s Staff Engineer: Leadership beyond the management track</a>. It’s a great book. I highlighted a lot. And by the end, I was more sure than ever that I want to stay a senior engineer.</p><p>This isn’t a book review. It’s about what happens when a good book helps you understand yourself better even if you land in a different place than the author intended.</p><h3>The Book Made Me Respect the Role</h3><p>Let me be clear: I’m not dismissing the staff engineer path. Larson does an excellent job explaining what these roles actually look like, setting technical direction, mentoring, injecting engineering context into business decisions, being what Tanya Reilly calls “glue.”</p><p>One highlight that stuck with me: an organization needs roughly one Tech Lead for every eight engineers. The ratio alone tells you how selective and high-leverage these roles are.</p><p>And the core insight is real at staff level, you create more impact by growing the engineers around you than through personal heroics. I believe that. I’ve seen it. I just realized it’s not where I want to spend my days.</p><h3>What I Actually Love</h3><p>I love shipping. The moment a feature crosses the finish line and lands in users’ hands that’s what keeps me going. Larson himself highlighted this in the book: you only get value from finishing projects. The magical moment is getting something over the line. Time spent getting work finished is always time well spent.</p><p>I agree completely. But I want to be the one doing the finishing, not the one setting the direction from three levels up.</p><p><strong>I write code every day. It’s my favorite part of the job. When I read that most staff engineers write less code than they used to, and some write none at all, I knew that wasn’t for me.</strong></p><h3>The Pressure to “Move Up”</h3><p>There’s an unspoken expectation in our industry: if you’re good, you should want to climb. Senior → Staff → Principal → management. It’s treated as the natural order. I’ve felt that pressure, and I’ve pushed back on it.</p><p>The biggest misconception I see among engineers is this belief that you must move to staff or management to grow. That staying senior means you’ve plateaued. That’s not true.</p><p>You can be a senior engineer who understands what’s valuable for the company and the product. You can have strong communication with your team. You can care deeply about the work without wanting to spend your time in architecture reviews and strategy documents instead of your IDE.</p><h3>AI Changed the Math</h3><p>Here’s something Larson couldn’t have fully anticipated when writing this book: <strong>AI tools have fundamentally changed what a single senior engineer can do.</strong></p><p>I use Claude Code daily. I’ve written about it on this blog. AI doesn’t replace my judgment about what to build or how to architect it but it makes me dramatically faster at the execution. The boring parts get handled. The repetitive parts get automated. I stay in flow longer.</p><p>This means a senior engineer in 2026 can have outsized impact without needing the staff title or the organizational leverage that comes with it. The productivity multiplier that used to require a team now partially lives in your toolchain.</p><h3>What I Took from the Book Anyway</h3><p>Reading Staff Engineer wasn’t wasted time. Far from it. Several ideas reshaped how I think about my own work, even as a senior:</p><p><strong>Finish what you start.</strong> The book’s point about crossing the finish line applies at every level. I’ve become more intentional about driving things to completion rather than starting new things.</p><p><strong>Understand organizational needs.</strong> Larson writes that setting technical direction is about solving the real needs of the organization, not chasing technology you’re personally excited about. You don’t need a staff title to think this way. I try to pick work that actually matters for the product and the team.</p><p><strong>Write design documents for things that matter.</strong> The book recommends writing design docs for any project that will be used by many future projects, impact users meaningfully, or take more than a month of engineering time. I’ve started doing this more, not because someone told me to, but because it makes my own work better.</p><p><strong>It’s okay to not know everything.</strong> Ritu Vincent’s interview at the end of the book hit home. She talks about imposter syndrome, being comfortable with the fact that you might crash and burn, and trying anyway. And about telling people you need help instead of pretending everything is fine. That’s good advice whether you’re a junior or a principal.</p><h3>The Real Takeaway</h3><p>Staff Engineer helped me see clearly what the next level looks like and decide, with respect, that it’s not my next level. Not right now. Maybe not ever.</p><p>I’m a senior engineer who ships features, writes code, uses modern tools to move fast, and cares about doing work that matters. I don’t need a different title to keep growing. I need to keep getting better at what I already love.</p><p>If you’re an engineer feeling the pressure to “move up” read this book. Not because it’ll convince you to pursue staff. But because understanding what that path actually involves is the best way to figure out whether it’s yours.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c64118204ddd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Where Indie Developers Can Still Win in 2025]]></title>
            <link>https://medium.com/@hanihashemi/where-indie-developers-can-still-win-in-2025-670caed87e5f?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/670caed87e5f</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[indiedev]]></category>
            <category><![CDATA[future]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Thu, 04 Dec 2025 01:41:18 GMT</pubDate>
            <atom:updated>2025-12-06T13:53:48.012Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uafUInVz26TXuijWDo1crg.jpeg" /></figure><p>If you are an independent developer in 2025, you might feel confused.</p><p>On one hand, you have superpowers. With AI tools, you can build an app in a weekend. It used to take a month. You can do the design and fix bugs all by yourself.</p><p>But on the other hand, it feels harder than ever to get people to download your app.</p><p>You look around and see big companies like Google or Microsoft adding AI to everything. They make “good enough” apps for millions of people instantly. You also see thousands of other developers making the exact same apps as you.</p><p><strong>You are right to be worried. The game has changed.</strong></p><p>Here is why things are different, and how we can still win.</p><h3>1. Coding Is Not Special Anymore</h3><p>For 20 years, coding was the hard part. If you knew how to write code, you had a special skill. You could build things other people couldn’t.</p><p>That is gone.</p><p>Now, AI makes writing code cheap and easy. Anyone can do it.</p><p>Big companies don’t win today because their code is better. They win because they are <strong>loud</strong>. They have the App Store. They have millions of users already. They have money for ads. They can push a button and show their new app to the world.</p><p><strong>You cannot beat them at that game.</strong></p><h3>2. The “Average” Trap</h3><p>Because coding is so easy, the internet is full of “average” apps.</p><p>Big companies are making generic tools for everyone. They make tools that summarize text or chat with documents. These tools are okay, but they are boring. They have no soul.</p><p>This is should be a good news!</p><p>You cannot win by making a huge app for everyone. But you <strong>can</strong> win by making a special app for a small group of people.</p><h3>3. How to Win: Think Small</h3><p>If you just want to write code, go get a job at a big company.</p><p>But if you want to be an indie developer, you have to stop thinking like a coder. You need to think like a business owner.</p><p>Here is the secret: <strong>Go where the big companies can’t go.</strong></p><ul><li><strong>Big Companies</strong> need 100 million users to make money. They can’t make an app just for dog walkers in Chicago, or for people who collect rare stamps. It is too small for them.</li><li><strong>You</strong> only need 500 users paying you a monthly fee to make a great living.</li></ul><p><strong>Don’t try to build the next Facebook. Build a tiny tool that solves a painful problem for a specific group of people.</strong></p><h3>Summary</h3><p>The hardest part of building software used to be the building. Now, the hardest part is getting people to care.</p><p>Since AI helps you build faster, use that extra time to talk to customers. Find a small problem. Fix it perfectly.</p><p>The tools are better than ever. You just have to use them differently.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=670caed87e5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Use Claude Code]]></title>
            <link>https://medium.com/@hanihashemi/how-i-use-claude-code-d1c8b20f38bf?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1c8b20f38bf</guid>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[good-vibes-club]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Wed, 29 Oct 2025 11:13:21 GMT</pubDate>
            <atom:updated>2025-10-29T11:32:36.133Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T-1RvVBf6mADe6sd" /></figure><p>I’ve been experimenting with AI as a real coding partner, not just a chat assistant. After trying different models, I landed on Claude as my main dev companion. It’s been the fastest and most accurate for most of my workflow especially Kotlin Multiplatform, Firebase Functions, and TypeScript. Here’s how I use it day to day.</p><h3>Claude Context Files (claude.md)</h3><p>Claude uses Markdown files as context memory for ongoing projects. I maintain three of them:</p><ul><li><strong>CLAUDE.md (Organization):</strong> shared across the company for architecture notes and conventions.</li><li><strong>CLAUDE.team.md:</strong> team-specific decisions, sprint notes, ownership info.</li><li><strong>CLAUDE.local.md:</strong> my personal file with current tasks, ideas, and experiments, which is not tracked in Git.</li></ul><p>Keeping these updated means that whenever I start a new chat, Claude already understands the background, dependencies, and goals without me re-explaining everything.</p><h3>Plan Mode</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*LNCntSGTAUlnNsPnX10ucw.png" /></figure><p>For every new task, I switch to <em>Plan Mode</em>. I describe what I want to build, ask Claude to outline a plan, refine it a few times, then let Claude implement the final version. It keeps my workflow structured and focused.</p><h3>VS Code Extension</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*FhPhGp54XIeHAe0sO9Ex8Q.png" /></figure><p>The Claude extension for Visual Studio Code is my go-to. It has a clean UI, better controls, and fits naturally into my coding flow — much smoother than using it in the terminal.</p><h3>Unified Project Directory</h3><p>I keep everything backend, mobile, and docs under one root directory. That way, Claude can access all parts of the system (API, client, docs) at once, making it easier to maintain context and apply cross-project changes.</p><h3>Diagrams</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/286/1*2DyPWlAKbw-C6rJC4Ssp5Q.png" /></figure><p>I use <a href="https://www.mermaidchart.com/"><strong>Mermaid</strong></a> diagrams often. Claude generates them for architecture discussions or presentations. It’s a quick way to visualize how things fit together.</p><h3>Markdown for Planning</h3><p>For bigger tasks, I ask Claude to document findings, decisions, and plans in a Markdown file. It becomes a neat record I can refine or share later.</p><h3>Keeping Claude’s Context Clean</h3><p>Long sessions can make Claude’s memory cluttered. After a few projects, I prune or rewrite my CLAUDE.local.md file. Old or irrelevant context can cause it to generate off-track answers. Keeping things current helps Claude stay sharp and consistent.</p><h3>Useful Commands</h3><p>Claude’s command prompt is underrated. To create these commands, I just ask Claude to generate them , it automatically creates a .md file under .claude/command/</p><p>Here’s an example for /check-code command: <a href="https://gist.github.com/hanihashemi/08f2d740a17edd69eb7f511e8b497283">https://gist.github.com/hanihashemi/08f2d740a17edd69eb7f511e8b497283</a></p><p>A few commands I rely on:</p><ul><li><strong>/check-code [current|full]: </strong>Reviews code for critical and non-critical issues. I use this after most tasks.</li><li><strong>/check-duplication [current|full]:</strong> Scans for repeated logic or patterns.</li><li><strong>/save-context</strong> : Saves key decisions and learnings into claude.md.</li><li><strong>/commit</strong> : Suggests concise commit messages and commits after approval.</li></ul><h3>When I Switch to ChatGPT</h3><p>I also keep a ChatGPT subscription under my belt. Whenever I hit iOS compilation issues especially dependency conflicts, I switch to the <strong>ChatGPT-high (Codex)</strong> model. Since I’m not an iOS developer, I can easily get stuck with build or linker errors that Claude struggles with. Codex has been consistently better at finding and fixing these iOS-specific problems.</p><h3>About MCP</h3><p>So far, I haven’t used MCP. I haven’t really found a strong use case for it yet. As far as I understand, Claude already comes with some default MCP integrations, and for my workflow, those have been enough. Even for tasks like reading Google Cloud logs or debugging Firebase issues, I’ve managed to do everything directly through Claude without adding any new MCPs.</p><p>Maybe I’m missing something , if you’ve found a great use for MCP, I’d love to hear about it.</p><h3>Tips That Make Vibe Coding Work</h3><p>A few habits that make AI-assisted coding more productive:</p><p><strong>Start with structure, not code.</strong></p><p>Before writing a line, describe the vibe of what you’re building, what it should feel like, how users interact, or what problem it solves. AI models reason better when you give them intent before syntax.</p><p><strong>Name things early.</strong></p><p>Give your features or modules clear names before coding. Claude and ChatGPT latch onto these names and use them consistently through future steps saving time and confusion later.</p><p><strong>Use “Why” questions.</strong></p><p>Instead of just asking for code, ask <em>why</em> it’s structured that way. For example:</p><blockquote><em>“Explain why you chose this approach over X.”</em></blockquote><blockquote><em>This forces the model to reveal assumptions — often uncovering hidden bugs or performance issues.</em></blockquote><h3>Final Thoughts</h3><p>Claude for architecture and planning, ChatGPT for debugging and edge cases. Together, they make coding faster, more focused, and less frustrating.</p><p>If you’re using Claude, ChatGPT, or any other AI tool in your workflow, share your experience. I’m curious how others are integrating AI into their daily dev routine what works, what doesn’t, and what surprised you most.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1c8b20f38bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coding with AI: Lessons from the Trenches]]></title>
            <link>https://medium.com/@hanihashemi/coding-with-ai-lessons-from-the-trenches-af36f836a495?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/af36f836a495</guid>
            <category><![CDATA[sofware-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-code-assistant]]></category>
            <category><![CDATA[ai-tools]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Mon, 01 Sep 2025 15:02:51 GMT</pubDate>
            <atom:updated>2025-09-01T15:02:51.392Z</atom:updated>
            <content:encoded><![CDATA[<h4>AI is becoming part of everyday software development. Not as a replacement for engineers, but as an amplifier. When used well, it speeds up coding, testing, and debugging. When used poorly, it creates messes that take longer to clean up than to write by hand.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*9hGBgVOBRSZDF8aKVaPGhQ.png" /></figure><p>Here is what I have learned about working productively with AI in coding.</p><h3>Three Measures for Success</h3><h3>1. Well-Structured Requirements</h3><p>The quality of AI output depends on the quality of your input. A vague prompt will give you vague results. A clear, complete prompt with context project structure, relevant files, and the intended behavior goes a long way. Think of it like writing requirements for a teammate.</p><h3>2. Tool-Based Guard Rails</h3><p>AI-generated code should never land in production unchecked. Linters, type checks, test suites, and security scanners act as safety nets. With these in place, the AI can self-correct as it writes, and you get early warnings if something’s off.</p><h3>3. File-Based Keyframing</h3><p>Instead of asking the AI to create everything from scratch, I prepare skeleton files first empty classes, controllers, or layouts that define the structure. This gives the AI strong architectural cues and prevents it from wandering off into a design I don’t want.</p><h3>Working Iteratively with AI</h3><p>The biggest shift in mindset: don’t ask AI to build the whole app. Break it down into steps.</p><ul><li>Ask it to design a page. Review. Adjust misalignments.</li><li>Add the data layer. Test it.</li><li>Run manual QA.</li><li>Ask for unit tests so future changes don’t break it.</li></ul><p>At each step, check the architecture. If it drifts, pull it back on track. This iterative loop prompt, review, refine mirrors how you had guide a junior developer.</p><h3>The Role of the Developer</h3><p>AI doesn’t eliminate the need for engineering skill. In fact, it raises the bar.</p><p>Sometimes the AI uses libraries or functions outside your daily toolkit. You need enough knowledge to follow the code, especially with complex topics like threads or coroutines. If you don’t understand it, you can’t debug or adapt it later.</p><p><strong>That’s why the developer remains in charge: designing, guiding, reviewing, and sometimes discarding entire chunks of generated code.</strong></p><h3>Chain-of-Vibes: Treat AI Like a Junior Engineer</h3><p>I came across a great analogy in <a href="https://blog.thepete.net/blog/2025/04/14/chain-of-vibes/?utm_source=chatgpt.com">Chain-of-Vibes</a>. It argues that fully autonomous AI coding is unreliable. The better approach is to guide it step by step: plan together, break work into chunks, review outputs, and adjust as needed.</p><p><strong>Think of it like “self-driving cars.” The hype says they drive themselves, but in reality, they still need human oversight. Same with AI coding autopilot can help, but you need to stay behind the wheel.</strong></p><h3>Limits of AI</h3><p>AI models aren’t creative in the way humans are. They don’t invent new ideas. They remix what they’ve seen during training. They can surface problems quickly, and sometimes suggest good fixes, but they rarely deliver the best solution outright.</p><p>I’ve used tools like Claude during incidents, and yes it pinpointed issues faster than I expected. But left unchecked, it drifted into irrelevant directions. Speed without control isn’t enough.</p><p>Another quirk: once you give the AI permission to push code, it sometimes remembers that “permission” and pushes changes in later tasks without asking again. That’s risky. AI doesn’t yet understand context the way humans do.</p><h3>Final Thoughts</h3><p>AI in coding is powerful, but only when paired with human judgment. It accelerates routine tasks, helps brainstorm solutions, and can even spot bugs before you do. But it’s not autonomous. It doesn’t replace careful design, reviews, or testing.</p><p>Treat it like a junior developer: give it structure, break down the work, review everything, and never hand over full control. That’s how you turn AI from a novelty into a true coding partner.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af36f836a495" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Software Changed: A Look from the Past to the Future]]></title>
            <link>https://medium.com/@hanihashemi/how-software-changed-a-look-from-the-past-to-the-future-ac15c60718c9?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac15c60718c9</guid>
            <category><![CDATA[future-of-work]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Fri, 09 May 2025 15:19:53 GMT</pubDate>
            <atom:updated>2025-05-10T11:17:09.419Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*dMoI4Mm-r-WjOyasmQhOug.png" /></figure><p>When I finished reading Clean Architecture by Robert C. Martin (Uncle Bob) I realized the book is not just about writing clean code. It is also a story about how software development has changed over time and how it’s still changing.</p><h3>The Past: More People, Less Power</h3><p>In the early days of software, things were very different. <strong>Computers were slow, tools were limited, and even small tasks required large teams.</strong> If a company wanted to build a simple application, they needed many developers, testers, designers, and system admins. Projects took years, and every part of the software had to be carefully written by hand. There were no fancy libraries or cloud services to make things easier.</p><p>Back then, building software was like building a house brick by brick. It was slow, expensive, and very manual.</p><h3>Today: Fewer People, More Power</h3><p>Now things are completely different. <strong>We have powerful computers, smart frameworks, open-source libraries, cloud platforms, and a ton of free tools.</strong> One developer today can do the work of a full team from 30 years ago.</p><p>We can write, test, and ship code faster than ever. We don’t need to manage servers manually. We use platforms like Firebase or AWS. We don’t need to build everything from scratch. There’s a package or API for almost everything.</p><p>Some roles have even disappeared or changed completely. For example:</p><ul><li>Manual testers are now often replaced by automated testing.</li><li>Sysadmins are replaced by DevOps tools or cloud services.</li><li>Large UI teams are replaced by reusable design systems.</li></ul><p>In short, software development became more efficient, more scalable, and less dependent on big teams.</p><h3>The Future: AI and Beyond</h3><p>Looking ahead, things will change even more, and faster.</p><p>AI is already helping us write code, fix bugs, write documentation, and even design applications. It doesn’t replace us (yet), but it helps us do more in less time. Just like tools and frameworks changed our work in the past, AI will change it again in the future.</p><p>In the future, one developer might be able to build a full product from start to finish with the help of AI. Teams will become smaller. Projects will become faster. And <strong>we’ll spend more time thinking about what to build, and less time on how to build it.</strong></p><h3>Final Thoughts</h3><p>Reading Clean Architecture reminded me that even though tools change, one thing stays the same: we still write code. We still need clean architecture, good design, and clear thinking. But we also need to adapt and grow with the tools we have.</p><p>The future of software is exciting. It won’t need as many people, but it will need people who understand the core of building good systems, and who can work smart with the help of AI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac15c60718c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MockK vs Mockito: Which One Should You Use?]]></title>
            <link>https://medium.com/@hanihashemi/mockk-vs-mockito-which-one-should-you-use-76d8fc52baf1?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/76d8fc52baf1</guid>
            <category><![CDATA[mocking]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[test]]></category>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Tue, 18 Feb 2025 15:58:14 GMT</pubDate>
            <atom:updated>2025-02-18T15:58:14.925Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/813/0*eSlfEMLqyZNv9WvK.png" /></figure><p>When writing unit tests in Android, you need a way to create `fake` objects to test your code without relying on real implementations. This is called mocking and there are two popular libraries for this:</p><h3>MockK — Best for Kotlin</h3><p><a href="https://mockk.io/">MockK</a> is a mocking library designed specifically for Kotlin. It provides:</p><ul><li>Full support for Kotlin features like coroutines, extension functions, and inline classes.</li><li>Concise and expressive syntax that makes tests easy to read.</li><li>Advanced mocking options, such as spies and relaxed mocks.</li><li>Compatible with JUnit 5 for modern testing setups.</li></ul><p>Use MockK if:<br>✔️ Your project is mainly written in Kotlin.<br>✔️ You need support for coroutines, inline functions, or extension functions.</p><pre>import io.mockk.*<br>import org.junit.jupiter.api.Test<br>import kotlin.test.assertEquals<br><br>class ExampleTest {<br>    class Service {<br>        fun getValue(): Int = 10<br>    }<br><br>    @Test<br>    fun testMocking() {<br>        val service = mockk&lt;Service&gt;()<br>        every { service.getValue() } returns 42<br><br>        assertEquals(42, service.getValue())<br><br>        verify { service.getValue() }<br>    }<br>}</pre><h3>Mockito — Best for Java Projects with Some Kotlin</h3><p><a href="https://site.mockito.org/">Mockito</a> is a well-known Java mocking library. It works in Kotlin, but it wasn’t built for it. To help, there’s <strong>Mockito-Kotlin</strong>, a third-party library that improves its syntax.</p><ul><li>Works well for <strong>Java-based projects</strong> that have some Kotlin code.</li><li>Mockito 4+ has <strong>some Kotlin improvements</strong>, such as support for final classes.</li><li><strong>Good if you already use Mockito in a Java project</strong> and don’t want big changes.</li></ul><p><strong>Use Mockito if:</strong></p><p>✔️ Your project is mainly Java with some Kotlin.</p><p>✔️ You’re already using Mockito and want to keep things simple.</p><pre>import org.junit.jupiter.api.Test<br>import org.mockito.kotlin.*<br><br>class ExampleTest {<br>    class Service {<br>        fun getValue(): Int = 10<br>    }<br><br>    @Test<br>    fun testMocking() {<br>        val service = mock&lt;Service&gt;()<br>        whenever(service.getValue()).thenReturn(42)<br><br>        assert(service.getValue() == 42)<br><br>        verify(service).getValue()<br>    }<br>}</pre><h3>Final Recommendation</h3><p>✅ If your project is fully Kotlin → <strong>Use MockK</strong><br>⚠️ If your project is Java-based with some Kotlin → <strong>Use Mockito</strong><br>✅ If you need advanced Kotlin support (coroutines, final class mocking, etc.) → <strong>Use MockK</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/0*N6jOx4ivhObMehNb" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76d8fc52baf1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Publishing the Egg Master App on Google Play Store ]]></title>
            <link>https://medium.com/@hanihashemi/publishing-the-egg-master-app-on-google-play-store-b719cfa5971b?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b719cfa5971b</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Fri, 10 Jan 2025 18:04:20 GMT</pubDate>
            <atom:updated>2025-03-05T15:49:19.508Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*3svWtRB86-RWmK9W0zklAA.png" /><figcaption>Egg Master App on Google Play Store</figcaption></figure><p>Hello, everyone! 👋 I’m excited to share the journey of publishing the <strong>Egg Master App</strong> on Google Play Store. In this blog post, I’ll introduce what the app is all about, and share how you can help by testing it!</p><h4>What Is Egg Master?</h4><p>The <strong>Egg Master App</strong> is a simple and handy tool designed to help you cook perfect eggs every time.</p><p>With a clean and easy-to-use interface, the app offers features like customizable timers, detailed how-to guides, and multi-language support, making it accessible to everyone. Whether you’re boiling, frying, or poaching eggs, Egg Master ensures consistent results by guiding you step-by-step. It’s also optimized for various screen sizes, so it works seamlessly on both phones and tablets.</p><p>Additionally, the app includes a feedback feature where users can send their thoughts or even join the Alpha Testing program directly from within the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*u9-BeN1MchAU601iboPL6w.png" /><figcaption>Egg Master Screen-shots</figcaption></figure><h4>Watch the Development Journey on YouTube 🎥</h4><p>Want to see how the Egg Master App was created? I’ve documented the entire process on my <strong>YouTube channel</strong>!</p><p>The series covers everything from design and coding to testing and publishing. If you’re an Android developer or just curious about how apps are made, check it out here: <a href="https://www.youtube.com/watch?v=H8yv_j1aH3w&amp;list=PLUC-8-YzGs9ulbNE_LbGJWhDUgJrZb1G7"><strong>Egg Master Development Playlist</strong></a></p><h4>Join the Alpha Testing Program 🌟</h4><p>I need <strong>14 testers</strong> to meet Google’s requirements and move the app to public release. If you’d like to help, here’s how you can join the Alpha Testing program:</p><ol><li><strong>Join the Google Group</strong>: <a href="https://groups.google.com/g/egg-master-app">https://groups.google.com/g/egg-master-app</a></li><li><strong>Download the App on Android</strong>: <a href="https://play.google.com/store/apps/details?id=io.github.hanihashemi.eggmaster">Egg Master on Google Play</a></li><li><strong>Use the app</strong> as you normally would and test its features.</li></ol><p>Your participation would not only help me meet Google’s requirements but also improve the app for a wider audience. ❤️</p><h4>What’s Next?</h4><p>I’m planning to develop a <strong>Pomodoro Timer App</strong> as my next project. The aim is to design an app that’s not only functional but also aesthetically pleasing and engaging, with smooth animations and an exceptional user experience. Stay tuned for updates on this exciting new journey!</p><p>Thank you for supporting me in this adventure. Whether you’re cooking eggs or learning to build apps, I truly appreciate your encouragement and feedback.</p><p>Let’s cook some eggs — and code some apps! 🥚💛</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fl_G96uYqAuY%3Flist%3DPLUC-8-YzGs9ulbNE_LbGJWhDUgJrZb1G7&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dl_G96uYqAuY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fl_G96uYqAuY%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e5d5238dc00deed24e45499e66549ba9/href">https://medium.com/media/e5d5238dc00deed24e45499e66549ba9/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b719cfa5971b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Implement a Clock with Jetpack Compose]]></title>
            <link>https://medium.com/@hanihashemi/how-to-implement-a-clock-with-jetpack-compose-0e65be4a0a27?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e65be4a0a27</guid>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[jetpack-compose]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Wed, 06 Nov 2024 18:42:30 GMT</pubDate>
            <atom:updated>2024-11-06T18:42:30.806Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rDa5cn8gVhWH3CLQ42gKig.png" /><figcaption>Implement a Clock with Jetpack Compose</figcaption></figure><p>Creating a visually appealing analog clock using Jetpack Compose involves several steps, from setting up a Canvas component to designing the hands of the clock. Here&#39;s a detailed guide on how to achieve this.</p><h3>Step 1: Setting Up the Canvas</h3><p>The foundation of our analog clock is the Canvas component, which lets us draw custom graphics. We start by defining the Canvas and calculating the clock&#39;s diameter and radius.</p><pre>val diameter = min(size.width, size.height) * 0.9f<br>val radius = diameter / 2</pre><p>We use the min function to select the smaller dimension between the width and height, ensuring the clock fits within the available space. Multiplying by 0.9f scales the clock down slightly to leave some margin. The radius is then calculated as half of the diameter.</p><h3>Step 2: Drawing Hour Markers</h3><p>For our clock, we draw markers at the 0, 15, 30, and 45-minute positions.</p><ol><li><strong>Calculate the Start and End Positions</strong>: The markers are small lines positioned at the edge of the clock face.</li></ol><pre>val start = center - Offset(0f, radius)<br>val end = start + Offset(0f, radius / 40f)</pre><p>2. <strong>Draw the Line</strong>: We use the drawLine function to create the marker.</p><pre>drawLine(<br>    color = Color.White,<br>    start = start,<br>    end = end,<br>    strokeWidth = 5.dp.toPx(),<br>    cap = StrokeCap.Round<br>)</pre><p><strong>3. Repeat for Each Marker</strong>: We use a loop to draw the markers at four evenly spaced positions around the clock.</p><pre>repeat(4) {<br>    val start = center - Offset(0f, radius)<br>    val end = start + Offset(0f, radius / 40f)<br>    rotate(it / 4f * 360) {<br>        drawLine(<br>            color = Color.White,<br>            start = start,<br>            end = end,<br>            strokeWidth = 5.dp.toPx(),<br>            cap = StrokeCap.Round<br>        )<br>    }<br>}</pre><p>We use the rotate function to position each marker correctly. The loop iterates four times, and rotate applies the necessary rotation for each marker.</p><h3>Step 3: Drawing the Clock Hands</h3><p>Next, we add the hour, minute, and second hands, each requiring a different length and thickness.</p><ol><li><strong>Calculate Ratios for Rotation</strong>: We convert the current time into ratios, which help determine the angle for each hand.</li></ol><pre>val secondRatio = second / 60f<br>val minuteRatio = minute / 60f<br>val hourRatio = hour / 12f</pre><p>The ratios represent how far each hand has moved around the clock. For example, secondRatio is the fraction of a minute that has passed.</p><p><strong>2. Draw the Hour Hand:</strong></p><pre>rotate(hourRatio * 360, center) {<br>    drawLine(<br>        color = AnalogClockHourHandColor,<br>        start = center - Offset(0f, radius * 0.4f),<br>        end = center + Offset(0f, radius * 0.1f),<br>        strokeWidth = 3.8.dp.toPx(),<br>        cap = StrokeCap.Round<br>    )<br>}</pre><p>The hour hand is shorter and thicker compared to the others.</p><p><strong>3. Draw the Minute Hand</strong>:</p><pre>rotate(minuteRatio * 360, center) {<br>    drawLine(<br>        color = AnalogClockMinuteHandColor,<br>        start = center - Offset(0f, radius * 0.6f),<br>        end = center + Offset(0f, radius * 0.1f),<br>        strokeWidth = 3.dp.toPx(),<br>        cap = StrokeCap.Round<br>    )<br>}</pre><p>The minute hand is longer but slightly thinner.</p><p><strong>4. Draw the Second Hand</strong>:</p><pre>rotate(secondRatio * 360, center) {<br>    drawLine(<br>        color = AnalogClockSecondHandColor,<br>        start = center - Offset(0f, radius * 0.7f),<br>        end = center + Offset(0f, radius * 0.1f),<br>        strokeWidth = 3.dp.toPx(),<br>        cap = StrokeCap.Round<br>    )<br>}</pre><p>The second hand is the longest and thinnest, providing a smooth ticking motion.</p><h3>Step 4: Putting It All Together</h3><p>By layering all these elements within the Canvas and applying appropriate rotations, you create a fully functional analog clock.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FV4IxattGNJY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DV4IxattGNJY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FV4IxattGNJY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9a192ff29662dd32ae1f701b17f7da27/href">https://medium.com/media/9a192ff29662dd32ae1f701b17f7da27/href</a></iframe><p>For more clarity, I’ve recorded a live coding session on my YouTube channel where I walk through each step in detail. You can also check out the complete project on <a href="https://github.com/hanihashemi/Alarm-Clock-App-Tutorial">GitHub</a>. This should make it easier to follow along and customize the clock to your needs.</p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e65be4a0a27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Pixel 9 Pro Fold: A Developer’s First Impressions]]></title>
            <link>https://medium.com/@hanihashemi/google-pixel-9-pro-fold-a-developers-first-impressions-d1c00abda2de?source=rss-e78d5980efb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1c00abda2de</guid>
            <category><![CDATA[review]]></category>
            <category><![CDATA[google-pixel]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[google-pixel-9-pro-fold]]></category>
            <dc:creator><![CDATA[Hani hashemi]]></dc:creator>
            <pubDate>Mon, 14 Oct 2024 23:33:23 GMT</pubDate>
            <atom:updated>2024-10-14T23:33:23.191Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6ae6HiYnrM0EHRyZ" /><figcaption>Google Pixel 9 Pro Fold</figcaption></figure><p>I’ve been using the Google Pixel 9 Pro Fold for about a week, and here are my thoughts as a developer who mainly works on a laptop.</p><p><strong>Price</strong><br>First off, it’s really expensive for what you get. It feels like too much, especially since it’s not as durable as you hope.</p><p><strong>Design</strong><br>The outer screen is big enough to feel like a normal phone, so you won’t notice the fold when it’s closed. The phone is also really thin, which is nice for carrying but makes it feel fragile. It’s so thin that you might worry about breaking it!</p><p><strong>Laptop Use? Not Quite</strong><br>I thought I’d be able to use it like a mini laptop, but that’s not the case. The camera bump makes it awkward to type on, and the screen is too small to comfortably work as a laptop replacement.</p><p><strong>Camera</strong><br>I’m not too picky about cameras. The Pixel 9 Pro Fold’s camera is fine for me, as I’m used to my Pixel 7a, so no complaints there.</p><p><strong>Media Experience</strong><br>If you’re watching YouTube or Netflix, the experience isn’t great. When unfolded, the screen becomes square, which means most videos don’t fill the screen. Plus, you can’t tap to zoom when the phone is open, so adjusting the video size can be annoying.</p><p><strong>Sound</strong><br>The speakers are good, but when the phone is open, sound only comes from the bottom left, which feels odd when watching videos.</p><p><strong>Durability</strong><br>The phone feels delicate. You always have this sense that you might break it if you’re not careful. And if you rotate it too much, you might forget it only folds one way a mistake that could break the phone.</p><p><strong>Multitasking</strong><br>Multitasking is okay, but I don’t find much use for it. Many apps aren’t optimized for this screen size, and it just feels like a bigger version of the same app. That said, Google’s own apps work well on the foldable screen.</p><p><strong>App Optimization</strong><br>Limited app optimization is a problem. Most apps don’t make use of the foldable screen, though it’s great for browsing the web or shopping, like on Amazon.</p><p><strong>Battery Life</strong><br>The battery life is decent, but the phone is still quite bulky.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PbsumnFphJm_vLlr.gif" /></figure><h3>Final Thoughts</h3><p>Would I recommend the Google Pixel 9 Pro Fold? Honestly, no. It’s too expensive for something that feels so fragile and prone to damage. If you’re someone who mostly uses a laptop, like me, this phone isn’t a good replacement. I still prefer my laptop for tasks like research or shopping because I can have multiple windows open.</p><p>If you have extra money to spend and want something better than a regular phone, then sure, go for it.</p><blockquote>Subscribe to my YouTube channel if you want to learn how to build applications :)</blockquote><blockquote><a href="https://www.youtube.com/@HaniTech">https://www.youtube.com/@HaniTech</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1c00abda2de" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>