VOOZH about

URL: https://thenewstack.io/bad-code-stalls-developer-velocity/

⇱ Bad Code Stalls Developer Velocity - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-07-31 10:38:04
Bad Code Stalls Developer Velocity
sponsor-sonarsource,sponsored-post-contributed,
DevOps / Software Development

Bad Code Stalls Developer Velocity

Embracing a Clean as You Code approach is the only way to deliver quality code quickly and without having to backtrack to remediate old errors.
Jul 31st, 2023 10:38am by Peter McKee
👁 Featued image for: Bad Code Stalls Developer Velocity
Image via Shutterstock.
Sonar sponsored this post. Insight Partners is an investor in Sonar and TNS.

Today’s software development teams are under pressure to move fast and deliver code on aggressive schedules. With increasing competition, software providers are rolling out more new features and products — more quickly than ever before to stay ahead of their rivals. As a result, deadlines are getting tighter. Meeting these deadlines is often the priority, even if it means that code quality suffers.

Without standards for code quality and with mounting pressure to complete the project at hand, it can be easier to let bad code linger in the codebase for the sake of speed. But that approach is ultimately self-defeating. It slows down the entire development cycle while also hurting product quality and creating security issues.

Bad Coding Is Slow Coding

The speediness of poor coding is an illusion in the long run. When bad code gets overlooked, it creates technical debt that leads to lasting problems and ends up dragging down developer velocity. Remediating past coding errors is a cumbersome, time-consuming process. It’s much more difficult to fix errors from months or years ago than it is to correct them in real time. To diagnose why code isn’t working, you need context — you have to understand what that code’s purpose was to begin with. The older the code is, the harder it is to uncover that information. What if it was written by a developer who left the organization years ago?

The technical debt from bad code means that developers are frequently interrupted. As developers create new code, they’re constantly forced to stop their work to mitigate flaws in existing code. This is also known as context switching — jumping between projects — in this case, writing new code and fixing old, flawed code. Context switching is highly inefficient.

Sonar is the industry standard for code verification and automated code review, trusted by 75% of the Fortune 100. Its SonarQube platform analyzes over 750 billion lines of code daily, helping to prevent outages, reduce risk, lower technical debt, and ensure compliance.
Learn More
The latest from Sonar
Hear more from our sponsor

It’s not just developer velocity that suffers from bad coding. Errors hurt performance, create vulnerabilities and ultimately destroy the end-user experience. Security is a particular concern here: In addition to creating vulnerabilities, poor code means that security teams must spend the bulk of their time fixing smaller, low-level bugs rather than performing more advanced analysis and testing that would find bigger errors.

There are several statistics that illustrate how bad code hampers developer velocity. On average, developers waste 17.3 hours per week due to technical debt and bad code. Forty percent of a developer’s daily tasks are interrupted or require context switching, and 29% of those tasks are never resumed. Perhaps the most telling number comes straight from the horse’s mouth: 55% of developers say that if they didn’t have to spend so much time fixing bugs, they would build more new features and functionalities.

The Clean as You Code Answer

Embracing a Clean as You Code approach is the best way for development teams to deliver quality, bug-free code while still moving swiftly. Clean as You Code is a methodology that enables developers and organizations to optimize the quality of their codebase by ensuring that all added or changed code adheres to clean code standards. This means that potential errors are flagged as code is being written, and developers correct them in real time.

This approach progressively improves the overall quality of the entire codebase with minimal cost and effort. It ensures that there are no new issues introduced as code is delivered, eliminating the need to spend time remediating bad code and minimizing the likelihood of any performance issues or other bugs in the codebase. Freed from the burden of context switching and dedicating cycles to fixing old, sloppy code, developers can focus entirely on creating exciting, innovative features and products.

A Clean as You Code methodology significantly improves code security, as the approach enables development teams to truly shift left — to move the security process as early into the coding process as possible. Cleaning as you code achieves just that, bringing security into the picture as code is being written.

A Clean as You Code approach is simple to adopt and can be easily implemented at scale. With the right Clean as You Code processes in place, secure, high-quality code can be written just as quickly as messy code.

Optimize Developer Velocity 

As more organizations prioritize developer velocity, that velocity comes at the expense of code quality. Development teams eventually get bogged down fixing old code and managing technical debt, defeating the very purpose of fast coding cycles. Embracing a Clean as You Code methodology is the only way to deliver quality code quickly, steadily and without having to constantly backtrack to remediate old errors.

Sonar is the industry standard for code verification and automated code review, trusted by 75% of the Fortune 100. Its SonarQube platform analyzes over 750 billion lines of code daily, helping to prevent outages, reduce risk, lower technical debt, and ensure compliance.
Learn More
The latest from Sonar
Hear more from our sponsor
TRENDING STORIES
Peter McKee is the head of developer relations at SonarSource. Originally from Pittsburgh, but currently residing in Austin, Texas, Peter built his career developing full-stack applications for over 25 years. He has held multiple roles but enjoys teaching and mentoring...
Read more from Peter McKee
Sonar sponsored this post. Insight Partners is an investor in Sonar and TNS.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Pragma, Velocity, Sonar.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.