They said it couldn't be tested... But they were wrong. Sort of. We're done with excuses! No more claims that when dealing with legacy code your changes can't be tested. We're drawing the line now. It's true that some code really just doesn't lend itself well to being tested. There's no denying that! But what if we could guarantee that every time we touched some code, even in the most untestable places, that we could do *SOMETHING* that added a bit more test coverage to build confidence? Check out the article: https://lnkd.in/ggK-8ECr #legacycode #testing #programming #coding
Legacy Code Testing: Debunking the Untestable Myth
More Relevant Posts
-
Have you heard of inversion of control? So what the heck is "Inversion of Control" (IoC)? It's got a fancy name, but what exactly are we inverting? No, we're not going to be writing code upside down. Although, that could be fun. Instead, the concept will be moving the responsibilities of something back out to the caller or creator. If that sounds weird, it's because it's a bit of a paradigm shift. Something like dependency injection is a great practical example of IoC! Check out the article: https://lnkd.in/g9kjUmsN #programming #coding
To view or add a comment, sign in
-
-
You know that feeling when you need to dive into a new codebase and it's completely overwhelming? We've all been there starting on a new project. It's all new. You have no idea where to start looking to understand the complexities of the code and the system in front of you. Sometimes there's documentation, sometimes not. Sometimes there's existing expertise, sometimes not. What can we do to try and optimize our approach? Check out the article: https://lnkd.in/gps5GWZ7 #coding #programming #softwaredevelopment
To view or add a comment, sign in
-
-
The scariest line in any codebase: “// TODO: fix this later” Committed 3 years ago. By someone who left. Later never comes. Fix it now or document why. #TechDebt #Programming #DeveloperLife
To view or add a comment, sign in
-
One thing every developer learns eventually: Logs are your best friend. When things go wrong in production, you don’t have the debugger. You don’t have breakpoints. You have logs. Good logs can save hours of frustration. Bad logs can make debugging a nightmare. So when writing code, think about your future self investigating a bug at 2 AM. #SoftwareEngineering #Debugging #BackendDevelopment #DevLife #Programming
To view or add a comment, sign in
-
-
Debugging is one of the most valuable skills for developers. Sometimes the problem isn't the code. It's the assumption behind the code. #Programming #Debugging
To view or add a comment, sign in
-
-
Every developer has experienced this. You spend hours debugging your code, checking every function, rewriting logic… and the real problem ends up being a tiny mistake. Sometimes the biggest lessons in programming come from the smallest bugs. Read the story: https://lnkd.in/dTF-2uV7 #programming #webdevelopment #coding #softwareengineering
To view or add a comment, sign in
-
-
⚡ The Hardest Bug I Ever Fixed The code looked perfect. No errors. No warnings. Everything compiled. But the system was still failing. After hours of debugging I found the problem. A single wrong assumption. The code wasn’t broken. The logic was. Sometimes debugging isn't about fixing code. It's about fixing **how we think**. 💬 What was the most confusing bug you ever faced? #SoftwareEngineering #Debugging #Developers #Programming #TechCareers
To view or add a comment, sign in
-
"Just build things!" is the advice you keep hearing... but what should you build? The point of the advice to build applications and not get stuck in tutorial hell is so that you're practicing other critical parts of software development. But when you can't think up ideas, you'll feel blocked. Now you can't even execute on the advice! This article has helpful tips for how you can keep generating helpful project ideas. Check out the article: https://lnkd.in/gPePeAFw #programming #coding #learntocode
To view or add a comment, sign in
-
-
FACT: Clean code saves more time than fast code. The code you rush today is the code you debug tomorrow. Name variables properly. Structure your logic. Keep it readable. Clever code impresses. Clean code scales. #CleanCode #Programming #DotNet
To view or add a comment, sign in
-
-
One thing debugging teaches you: The bug is almost never where you first think it is. You start by checking one function. Then another. Then the logs. Then the API. Then something completely unrelated. Hours later, you discover the issue was a tiny assumption you didn’t question. Debugging isn’t just about fixing errors. It teaches patience. It teaches attention to detail. And most importantly, it teaches you how systems actually behave in the real world. Sometimes the smallest line of code teaches the biggest lesson. #SoftwareEngineering #Debugging #Coding #Programming #SystemDesign #Developers #TechLearning #EngineeringMindset
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development