<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Denis Borovikov</title><description>Staff Engineer researching how to build software with AI that’s secure, robust and reliable at scale.</description><link>https://denbvk.dev/</link><item><title>On Verification</title><link>https://denbvk.dev/posts/2026-06-02-the-test-suite-is-the-part-you-cant-vibe/</link><guid isPermaLink="true">https://denbvk.dev/posts/2026-06-02-the-test-suite-is-the-part-you-cant-vibe/</guid><description>The part you can’t vibe.</description><pubDate>Tue, 02 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;The popular complaint about vibe coding is that LLMs write bad code. It is mostly false — frontier models write code that is often cleaner than what a tired human produces on a Friday afternoon — and even where it’s true, it misses the actual problem. The danger isn’t the quality of any given line; it’s what vibe coding tempts you to skip: verification. When people vibe, tests are an afterthought, something the model sprinkles in at the end if you ask nicely. That’s backwards. The test suite isn’t the chore wrapped around the code — it’s the part that decides whether the code is worth anything, and it’s the one part you cannot afford to vibe.&lt;/p&gt;
&lt;p&gt;Here is the catch that makes this interesting rather than obvious. Even a good test suite is incomplete: it can only check the behavior someone thought to specify, so it shrinks the chance of a defect but never drives it to zero. A residual risk always remains. That single fact splits “ensuring quality” into two things people lazily treat as one — the &lt;em&gt;labor&lt;/em&gt; of verification, and the &lt;em&gt;ownership&lt;/em&gt; of the risk that verification can’t eliminate. They have different homes, and confusing them is where vibe coding goes wrong.&lt;/p&gt;
&lt;p&gt;The labor you can delegate, and should. Writing tests, generating edge cases, running analysis — hand it to an agent. But not the agent that wrote the code. A model grading its own output is self-certification, the oldest mistake in quality assurance; you would never let an engineer be the sole reviewer of their own pull request, and the same logic applies to a model. So use a &lt;em&gt;separate&lt;/em&gt; testing agent, with its own context and a brief to attack code it didn’t write. Producer and verifier are different processes for the same reason they’re different people on a serious team.&lt;/p&gt;
&lt;p&gt;Delegating the labor, though, does not shrink the residual risk — it just gets the work done, and it hands you a new problem: how do you, the accountable human, know the generated suite is any good? Two models can share the same blind spots and cheerfully agree on the same wrong assumptions, leaving you with a fat suite that asserts nothing — tautological tests written to match the code instead of the intent. You cannot sign off on what you cannot assess, and you cannot assess a thousand machine-written tests by reading them straight through.&lt;/p&gt;
&lt;p&gt;This is what the verification techniques are actually for: not to replace your judgment, but to make it possible. Mutation testing is the sharpest of them — it injects deliberate bugs into your code and reports whether the tests catch them, telling you mechanically, independent of any model’s opinion, whether the suite has teeth. A high mutation score is the difference between a real test suite and a wall of green checkmarks. Readable tests do the same work from the other side: when each test is written so a human can see what behavior it pins down, you can map the suite back to intent instead of trusting it on faith. Coverage harnesses show you which cases are exercised and which are dark. None of these decide anything — they hand you a suite you can actually evaluate.&lt;/p&gt;
&lt;p&gt;Because in the end someone has to evaluate it. A human reads the mutation score, scans what the tests truly assert, looks at the corners no case reaches, and accepts the remaining risk under their own name. &lt;em&gt;That&lt;/em&gt; is the part that can never be delegated, to any agent, ever — because the residual risk has to land on something that can bear consequences, and a model has none. A test suite can’t sign for itself. A model can’t be fired. The human can. So the human stays accountable by default and throughout, no matter how much of the work the agents do.&lt;/p&gt;
&lt;p&gt;None of this is new. A lazy human skipping tests produces the identical failure. Vibe coding is just an accelerant of an old sin — it makes plausible, unverified code nearly free, which is exactly why the verification discipline has to get &lt;em&gt;stronger&lt;/em&gt; as the code gets cheaper, not weaker.&lt;/p&gt;
&lt;p&gt;So vibe the code if you like. Generate it, regenerate it, throw it away. But treat the test suite as the real deliverable: a separate agent to verify, mutation testing to keep it honest, and one accountable human reading the score. The model can write the code. You still have to decide it’s true.&lt;/p&gt;
</content:encoded><category>programming</category></item><item><title>On Review</title><link>https://denbvk.dev/posts/2024-03-19-code-reviews/</link><guid isPermaLink="true">https://denbvk.dev/posts/2024-03-19-code-reviews/</guid><description>Perfection is a comment that never resolves.</description><pubDate>Tue, 19 Mar 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h2 id=&quot;first-of-all---why&quot;&gt;First of all - why?&lt;/h2&gt;
&lt;p&gt;Diving into the “why” of code reviews reveals three critical benefits:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Improve code quality: Code reviews rigorously scrutinize code for potential improvements, ensuring adherence to best practices and design principles. This process inherently raises the code’s caliber.&lt;/li&gt;
&lt;li&gt;Share knowledge: They act as a conduit for knowledge transfer, allowing developers to learn from one another. This collaborative environment not only enhances individual skill sets but also harmonizes team methodologies.&lt;/li&gt;
&lt;li&gt;Prevent bugs: Early detection of issues during the review phase significantly reduces the incidence of bugs in later stages. This proactive approach saves time and resources, streamlining project development.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In essence, code reviews serve as a foundational practice that uplifts the team’s coding standards, fosters a learning culture, and minimizes errors—making them an indispensable part of the development process.&lt;/p&gt;
&lt;h2 id=&quot;code-review-issues-and-tactics-to-address-them&quot;&gt;Code review issues and tactics to address them&lt;/h2&gt;
&lt;h3 id=&quot;issue-1---review-intent&quot;&gt;Issue #1 - review intent&lt;/h3&gt;
&lt;p&gt;Let’s dive into Issue #1 - Review Intent: What’s our goal with code reviews?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Aiming for perfect code is like chasing a mirage. It’s an admirable goal but ultimately unattainable and can distract us from making practical progress.&lt;/li&gt;
&lt;li&gt;Setting a minimal quality bar doesn’t push us forward. It ensures basic functionality but misses the opportunity for growth and excellence.&lt;/li&gt;
&lt;li&gt;The sweet spot is making the code better. This approach is realistic and focuses on incremental improvements, which is what drives real progress in software development.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The key takeaway? Code reviews should aim for continuous improvement. This mindset fosters a culture of excellence, encouraging developers to elevate the code in meaningful ways—without the pressure of perfection or the complacency of just meeting standards. It’s about finding the right balance that propels us forward.&lt;/p&gt;
&lt;h3 id=&quot;issue-2---what-to-look-for&quot;&gt;Issue #2 - What to look for&lt;/h3&gt;
&lt;p&gt;It’s not just about eyeballing lines of code; it’s about delving into the essence of what makes good code great. Here’s a roadmap:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Functionality: Is the code doing what it’s supposed to do? It’s the bedrock of any review, ensuring the application behaves as intended.&lt;/li&gt;
&lt;li&gt;Tests: They’re the safety net. Adequate testing means we can sleep a little easier, knowing changes won’t send everything crashing down.&lt;/li&gt;
&lt;li&gt;Design: This is about the architecture of your code. Good design ensures that your code is not just a house of cards ready to tumble at the slightest breeze.&lt;/li&gt;
&lt;li&gt;Style: Consistency is key. A unified coding style makes the code more readable and maintainable for everyone on the team.&lt;/li&gt;
&lt;li&gt;Docs: Often overlooked but vitally important. Documentation ensures that future you—or anyone else—won’t be cursing past you when trying to figure out how things work.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In essence, a thorough code review goes beyond mere functionality. It encompasses a holistic look at the code’s health, from its foundational logic to the polish of documentation, ensuring everything is in top form for the long haul.&lt;/p&gt;
&lt;h3 id=&quot;issue-3---resolving-comments&quot;&gt;Issue #3 - Resolving comments&lt;/h3&gt;
&lt;p&gt;Navigating through feedback in code reviews is crucial for progress. Here’s how to tackle it effectively:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ask a question: If a comment isn’t clear, don’t guess. Asking clarifies expectations and prevents unnecessary rework.&lt;/li&gt;
&lt;li&gt;Resolve a comment by making code changes: The most straightforward response to feedback. If a comment makes sense, update the code accordingly.&lt;/li&gt;
&lt;li&gt;Write “won’t fix”: Sometimes it’s okay to push back, but be clear about your reasons. This transparency helps maintain a constructive dialogue.&lt;/li&gt;
&lt;li&gt;Don’t leave unresolved comments: Leaving comments hanging can lead to confusion and technical debt. Aim for a clean slate before merging.&lt;/li&gt;
&lt;li&gt;If the thread is too long, have a meeting: Sometimes written communication just doesn’t cut it. If a thread becomes a novella, it’s time for a direct chat.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Effective comment resolution is all about communication. Whether it’s through asking questions, making changes, or even agreeing to disagree, the goal is to ensure that both code and team relationships are stronger at the end of the review process.&lt;/p&gt;
&lt;h3 id=&quot;issue-4---debating&quot;&gt;Issue #4 - Debating&lt;/h3&gt;
&lt;p&gt;Debating during code reviews with a few guiding principles can streamline the process and minimize friction:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Facts and data overrule opinions: When it comes to making decisions, objective data and factual evidence should take precedence over personal preferences. This approach ensures decisions are defensible and grounded in reality.&lt;/li&gt;
&lt;li&gt;Style is conventional: Style choices often boil down to agreed-upon conventions within a team or project. While subjective, these conventions are important for maintaining consistency and readability across the codebase.&lt;/li&gt;
&lt;li&gt;Design is based on principles: Design discussions straddle the line between objectivity and subjectivity. They are guided by established principles, yet there’s room for interpretation based on the specific context of a project.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When commenting during a review, clarity is key. Be explicit about the nature of your feedback: is it a factual correction, a suggestion to adhere to a style convention, or a discussion about a design principle? This clarity not only helps streamline the review process but also enriches the dialogue by making the intent of each comment unmistakable.&lt;/p&gt;
&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Mastering code reviews is about striking a balance between rigor and flexibility, aiming not just for cleaner code but for a stronger, more agile development culture. It’s a practice rooted in respect—respect for the code, the process, and, importantly, each other. Remember, the goal is continuous improvement, fostering an environment where feedback isn’t just tolerated but welcomed as a catalyst for growth. Let’s champion code reviews as a cornerstone of software excellence, embracing each review as an opportunity to refine our craft and elevate our teams. Here’s to building better software, together.&lt;/p&gt;
</content:encoded><category>programming</category></item><item><title>On Design and Time</title><link>https://denbvk.dev/posts/2022-04-12-scrum-and-design/</link><guid isPermaLink="true">https://denbvk.dev/posts/2022-04-12-scrum-and-design/</guid><description>Designers think in months, engineers in sprints. Both are wrong about the other.</description><pubDate>Tue, 12 Apr 2022 00:00:00 GMT</pubDate><content:encoded>&lt;h2 id=&quot;why-is-it-hard&quot;&gt;Why is it hard?&lt;/h2&gt;
&lt;p&gt;“ - But we need designs!” © Frontend Developers&lt;/p&gt;
&lt;p&gt;Ideally, the Scrum process works like this: we have a nice and shiny product backlog, and every 2 weeks or so the team meets to select new items for the next sprint and agree on tasks that are needed to deliver those items. At the end of the sprint, we have a new increment of software. Sounds simple, right? But when it comes to projects that involve a significant amount of UI/UX design, you might face some challenges. Let’s talk about some of them.&lt;/p&gt;
&lt;h3 id=&quot;frontend-engineers-might-not-accept-a-story-without-designs&quot;&gt;Frontend engineers might not accept a story without designs&lt;/h3&gt;
&lt;p&gt;Well, they can of course accept a story defined as a few words on a sticky note. But estimating this item can be difficult. Frontend folks quite often think in terms of components they need to implement. Without design, it’s hard to know what components they need to implement. Sure, I’m not saying it’s the only way to estimate items. In fact, being able to estimate based on minimal information without design is a good skill. But I’m pretty sure you might get this pushback from the frontend team in the form of “yeah, we can estimate it without designs, but you know, it’s super rough and the story can mean anything depending on the specific designs”.&lt;/p&gt;
&lt;h3 id=&quot;multi-disciplinary-work-is-hard-to-fit-into-one-sprint&quot;&gt;Multi-disciplinary work is hard to fit into one Sprint&lt;/h3&gt;
&lt;p&gt;Remember our ideal process? We take items one by one from the backlog and show an increment after a fixed interval of time. Sounds good, but we somehow have to ensure that we’re actually completing our work during sprints. Yeah, a lot of people think that accomplishing a sprint is the same as delivering the scope of stories we planned. In fact, it’s a bit more relaxed: Scrum requires us to achieve a Sprint Goal. It allows some flexibility in the scope of stories. The problem is that if you have absolutely no idea about estimates, it’s impossible to commit to achieving a Sprint Goal. This is why we have all these estimation techniques like story points and T-shirt sizes. Let me tell you an ugly truth: if you need multiple specialties to finish the work, the estimation becomes super unreliable. Just predicting how long coding will take is hard. Add design to this picture and hitting your Sprint Goal becomes a challenge.&lt;/p&gt;
&lt;h3 id=&quot;designers-dont-like-scrum&quot;&gt;Designers don’t like Scrum&lt;/h3&gt;
&lt;p&gt;The way designers are taught to work is typically quite different from Scrum. Their typical process looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://denbvk.dev/lean_ux.png&quot; alt=&quot;Lean UX&quot;&gt;
&lt;em&gt;&lt;a href=&quot;https://uxplanet.org/lean-ux-how-to-get-started-bb3771697e2&quot;&gt;Image source&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;A few observations here. The UX process is typically multi-stage and tends to be lengthy. Software engineers are trained to work in 2-week sprints or even shorter. Creative folks treat their work as exploratory R&amp;amp;D activity without fixed deliverables defined in the beginning. Well, the software process is quite similar. The problem is that it’s similar, but ultimately not the same type of activity. The periodicity of development and design work is unlikely to match. There were attempts to synchronize. It can work, but bear in mind sometimes we’re talking about 2 different activities.&lt;/p&gt;
&lt;h2 id=&quot;but-why-bother-with-scrum&quot;&gt;But why bother with Scrum?&lt;/h2&gt;
&lt;p&gt;At this point, you might think, ok, if we see all these problems trying to fit design activities into our Scrum process, maybe we shouldn’t be using Scrum? I still believe that the overall idea of fixed-sprint delivery is a good one. I can see two reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Shorter iterations are good because they reduce risk.&lt;/li&gt;
&lt;li&gt;Fixed interval delivery reduces complexity. Instead of endless synchronization meetings, you have fixed scrum events.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Even the authors of Scrum admit that “it’s hard to implement”. But all these difficulties are signs of underlying problems - Scrum just highlights them. The main question is “can you develop a shippable increment within some reasonable timebox?” If not, it means you have problems with transparency and adaptability.&lt;/p&gt;
&lt;h2 id=&quot;possible-solutions&quot;&gt;Possible solutions&lt;/h2&gt;
&lt;p&gt;As we discussed before, fitting design into Scrum is challenging, so there’s no one universal solution. However, I’ve seen several approaches that were effective when used in the right context. Let’s look at them starting from the most lightweight.&lt;/p&gt;
&lt;h3 id=&quot;designs-done-by-engineers&quot;&gt;Designs done by Engineers&lt;/h3&gt;
&lt;p&gt;Developers should not be designers! This is what some fundamental books like The Inmates Are Running the Asylum by Alan Cooper teach us. But it’s not a rule of nature and just one of those beliefs like “developers are bad testers”. Well, some are. But it doesn’t mean you can’t build a culture of product-oriented developers. Another thing is why did you initially decide to use Scrum as your process? Well, perhaps because your project is new and innovative if you know what you’re doing :) These projects with high uncertainty benefit from iterative processes like Scrum. If that’s the case, you should think about whether you actually need a heavy design process at this stage. For a new project, you can eliminate design as a separate activity completely. It’s not 1998 and we have things like design systems and component libraries. The only participation you need from a dedicated design team is to help create a design system. Specific feature designs can be done by engineers. Optionally, designers can consult engineers and give them feedback. Perhaps this is the most Agile and fast way to build complex interfaces. If you’ve started a startup company, this approach is something you should definitely consider.&lt;/p&gt;
&lt;h3 id=&quot;asynchronous-design&quot;&gt;Asynchronous Design&lt;/h3&gt;
&lt;p&gt;Imagine you started with developer-made design and created the first MVP of your product. By analyzing usage data from real users, you’ll likely find bottlenecks in your product. Perhaps it’s a good time to invest in more systematic design. I wouldn’t spend much time on design activities during the MVP stage, but the post-MVP situation is different. You might face the first problems of growth, and many of these problems can be addressed by proper UX. The idea here is that you involve designers when the product has already been launched. So the designers can do user research, create prototypes, and test with real users. All these activities can be done independently from the delivery of the software, and this is why I call it asynchronous design.&lt;/p&gt;
&lt;h3 id=&quot;discovery-track&quot;&gt;Discovery Track&lt;/h3&gt;
&lt;p&gt;There are situations when it’s not acceptable to create designs by developers. Developers might just be against it. Another situation is an existing product with a big user base. While an MVP can be scrappy, existing products should have a different quality bar. In these situations, you actually need to have a dedicated design activity and think about how to fit it into the Sprint. From Scrum’s point of view, design can be considered as spike activities. Spikes are research items that are needed to make Stories ready (in terms of “definition of ready”). So when you see that a story requires designs to be finished, you create a corresponding Spike item. Only when a spike is ready can you mark your original item as “ready” (for instance, during your Sprint Refinement activity). As you can see, some work happens “in advance” to unblock future sprints. This is what we call a discovery track. The main challenge for this approach is to plan 2-3 sprints in advance, so you have a good idea of what items can be taken into the next sprint and what items you need designs for.&lt;/p&gt;
&lt;h3 id=&quot;optimization&quot;&gt;Optimization&lt;/h3&gt;
&lt;p&gt;It can be quite dangerous to require a ready design for all your stories. Even though “dual-track Agile” is becoming very popular, you should be aware that it can make your Scrum process look a lot like Waterfall. Design should not be done in isolation in a functional silo and thrown over the fence to developers. You should at least try to involve engineers in the design process. Another approach is to practice in-sprint design. In that case, developers might accept some stories without designs or with partial designs and work collaboratively with designers during the sprint.&lt;/p&gt;
&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;As we can see, there’s no silver bullet. Product development is hard and the process tends to be messy. Having spoken with a number of people from different product companies, it seems that there’s no simple one-size-fits-all approach to the product development process. A real project will likely involve a combination of tactics I listed in this article. Also, it’s important to be adaptive and able to quickly figure out your team’s current needs and bottlenecks.&lt;/p&gt;
</content:encoded><category>scrum</category><category>ui/ux</category></item></channel></rss>