DEV Community

Cover image for The Great Programmer Purge: How AI Is Taking Over the Tech Workforce
Maxi Contieri
Maxi Contieri

Posted on • Originally published at maximilianocontieri.com

3

The Great Programmer Purge: How AI Is Taking Over the Tech Workforce

How AI is Redefining the Role of Programmers in the Tech Industry

TL;DR: AI-generated code outperforms lazy programmers. Software jobs are declining, but centaurs will survive.

Today, a friend of mine shared his frustration about being asked to fill out a registration form requiring a username and password.

The system was poorly designed and demanded a secure password without explaining what the issue was.

Message Box

This is a clear example of terrible UX and a lazy programmer unaware of writing error messages with empathy.

I told my friend this is unacceptable in today's world since modern AIs can easily solve such problems.

I took my phone and said, "L.M.P.T.F.Y." (Let Me Prompt That For You), the modern equivalent to LMGTFY.

I quickly wrote a prompt:

Give me the code for a secure password validation site with helpful error messages when the user enters a weak password.

The A.I. successfully provided a working page with this code:

document.getElementById('passwordForm')
  .addEventListener('submit', function(event) {
  event.preventDefault(); 
  // Prevent the form from submitting
  const password = document.getElementById('password').value; 
  // Get the password value
  const errorMessages = document.getElementById('errorMessages'); 
  // Get the error messages container
  errorMessages.innerHTML = ''; // Clear previous error messages

  let errors = []; // Array to store error messages

  // Validate minimum length
  if (password.length < 8) {
    errors.push('The password must be at least 8 characters long.');
  }

  // Validate uppercase letters
    if (!/[A-Z]/.test(password)) {
      errors.push('The password must contain one uppercase letter.');
    }

    // Validate lowercase letters
    if (!/[a-z]/.test(password)) {
      errors.push('The password must contain one lowercase letter.');
    }

    // Validate numbers
    if (!/[0-9]/.test(password)) {
      errors.push('The password must contain one number.');
    }

    // Validate special characters
    if (!/[!@#$%^&*(),.?":{}|<>]/.test(password)) {
      errors.push('The password must contain one special character.');
    }

    // Display errors or success message
    if (errors.length > 0) {
      errors.forEach(error => {
          const p = document.createElement('p'); 
          // Create a new paragraph element
          p.textContent = error; 
          // Set the error message as text
          errorMessages.appendChild(p);
          // Add the error message to the container
      });
    } else {
        alert('Valid password!'); 
        // Show success message if no errors
    }
});
Enter fullscreen mode Exit fullscreen mode

You can also try it yourself:

The Bad News

The AI-generated solution with helpful error messages is bad news for lazy programmers.

Software development jobs are already declining, and this trend is expected to continue:

Pragmatic Engineer

This is something many people have been forecasting.

I wrote an article five years ago during the last AI Winter predicting this would happen.

Most Programmers

As the great Niels Bohr once said:

Prediction is very difficult, especially about the future.

Trump

Now, it's clear: lazy programmers are doomed!

The Good News

What can we do as software engineers besides writing mediocre code?

Give Up

Chores

Explore Other Careers

Soon, there will be a shortage of handy people such as electricians, plumbers, and painters.

Improve Ourselves by Becoming Centaurs.

A.I. won't take your job. A developer mastering AI tools will.

I write biweekly articles about clean code, refactoring, and programming.

In these articles, you can compare the output of many AIs with and without guidance.

For example, the above code has several problems unnoticed by AIs:

Humans remain invaluable when they know how to harness AI effectively.

Here's a video benchmarking some tools:

Conclusion

This article isn’t just a warning for junior programmers — senior developers should also learn to master these tools.

Hopefully, my friend will soon complete the password form — or better yet developers will deprecate all passwords.

Also, I hope you'll write solutions like these and get paid as a "Centaur"- a developer who masters AI tools to enhance their craft.

Quadratic AI

Quadratic AI – The Spreadsheet with AI, Code, and Connections

  • AI-Powered Insights: Ask questions in plain English and get instant visualizations
  • Multi-Language Support: Seamlessly switch between Python, SQL, and JavaScript in one workspace
  • Zero Setup Required: Connect to databases or drag-and-drop files straight from your browser
  • Live Collaboration: Work together in real-time, no matter where your team is located
  • Beyond Formulas: Tackle complex analysis that traditional spreadsheets can't handle

Get started for free.

Watch The Demo 📊✨

Top comments (2)

Collapse
 
moopet profile image
Ben Sinclair

Not to distract from the point of your post, but the initial problem is probably more the fault of lazy UX than lazy developers. The solution (I know this is just an example) is technical, and misses the point that the user should be told these things before entering a password, otherwise the process becomes a mystery game of typing things in and seeing whether they match hidden requirements!

This is where the slop comes in as far as I can tell - people are starting to rely on AI solutions for code problems without understanding that they're often people problems. AI can help with that, too, but it won't give you any suggestions unless you ask, and there's nothing in the build process that encourages people to ask. You don't know what you don't know!

Collapse
 
mcsee profile image
Maxi Contieri

Exactly!

Jetbrains Survey

Calling all developers!

Participate in the Developer Ecosystem Survey 2025 and get the chance to win a MacBook Pro, an iPhone 16, or other exciting prizes. Contribute to our research on the development landscape.

Take the survey

AWS Security LIVE!

Hosted by security experts, AWS Security LIVE! showcases AWS Partners tackling real-world security challenges. Join live and get your security questions answered.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️