Web Dev and AI News
1.23K subscribers
139 photos
11 videos
15 files
412 links
Learn to code in 2026 - with AI, not despite it.

One practical lesson every weekday: snippets, AI prompts, tools. Comments open - ask anything.

๐Ÿ“˜ coddytech.net/blog
๐ŸŽฅ youtube.com/@codingforweb-official
๐Ÿ”— linktr.ee/codingforweb
Download Telegram
๐Ÿคฏ Developers felt 20% faster with AI. They were 19% slower.

This is my favourite study of the last two years, and almost nobody in my feed has seen it.

METR ran a proper randomized controlled trial. Not a survey - an actual RCT:
โ–ช๏ธ 16 experienced open-source developers
โ–ช๏ธ Real repos: 22,000+ stars, 1M+ lines of code
โ–ช๏ธ 246 real issues - bugs, features, refactors
โ–ช๏ธ Each task randomly assigned: AI allowed or AI not allowed
โ–ช๏ธ Tools: Cursor Pro with Claude Sonnet

Before starting, developers predicted AI would make them 24% faster.
After finishing, they believed AI had made them 20% faster.

Measured result: they took 19% longer.
A ~40-point gap between what they felt and what actually happened. The researchers called it "a substantial and persistent gap between perceived and actual performance."

Why it happens - and this is the useful part:
AI removes the feeling of effort, not the effort. You stop staring at a blank file, so the work feels lighter. But you replace writing with reading, reviewing, correcting, re-prompting. That's slower, and it doesn't feel slower, because reading feels easier than writing.

โš ๏ธ This is not an anti-AI post.

The same study notes: these were experts in codebases they knew by heart - the exact scenario where AI helps least. Elsewhere, the picture flips: teams that use AI agents properly cut PR turnaround from 9.6 days to 2.4 days.

The lesson isn't "don't use AI." It's this:
๐Ÿ‘‰ Your sense of your own speed is not evidence. Time yourself once. Do it this week on one real task. The result will surprise you in one direction or the other - and either way you'll know something about your workflow that 99% of developers only guess at.

๐Ÿ“Ž Source: metr.org - "Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity"

Forward this to the person on your team who's most sure AI made them faster.

#learn @codingforweb
๐Ÿ”“ 45% of AI-generated code contains a security vulnerability.

Veracode tested this properly: 80 curated coding tasks, run across 100+ large language models. Not vibes โ€” a benchmark.

Results:
โ–ช๏ธ 45% of generated code introduced an OWASP Top 10 vulnerability
โ–ช๏ธ Java: 70%+ failure rate - the worst by far
โ–ช๏ธ Python, C#, JavaScript: 38 - 45%
โ–ช๏ธ Cross-site scripting (CWE - 80): 86% failure rate
โ–ช๏ธ Log injection (CWE - 117): 88% failure rate

And the line that should worry you most:
"Despite advances in LLMs' ability to generate syntactically correct code, security performance has not kept up, remaining unchanged over time." Models got dramatically better at writing code that works. They did not get better at writing code that's safe. Those two things improved on completely different curves, and almost nobody noticed. Because here's the thing about a security bug: it passes your tests. It passes code review. It works perfectly - right up until it doesn't.

๐Ÿ”– Save this. Six things to check in every piece of AI code you ship:

1๏ธโƒฃ Any user input rendered to a page โ†’ is it escaped? (XSS)
2๏ธโƒฃ Any user input reaching the database โ†’ parameterized query, never string concatenation (SQL injection)
3๏ธโƒฃ Any user input written to logs โ†’ stripped of newlines (log injection)
4๏ธโƒฃ Any file path built from user input โ†’ validated against traversal (../)
5๏ธโƒฃ Any secret, key, or token โ†’ in env vars, never in the code it just wrote
6๏ธโƒฃ Any dependency it imported โ†’ does that package actually exist? (AI invents package names, and attackers register them)

Number 6 is the one nobody checks. It has a name now: slopsquatting.

๐Ÿ“Ž Source: Veracode 2025 GenAI Code Security Report

Please send this to the person on your team who ships AI code the fastest.

#tools @codingforweb
โšก๏ธ Only 31% of developers use AI agents. That gap is about to decide a lot.

Buried in the Stack Overflow 2026 survey is a split almost nobody is talking about - and it's much bigger than the "do you use AI" question. Autocomplete is universal now. 84% use it. It's table stakes.
Agents - tools that run tasks, edit multiple files, execute commands - are not:
โ–ช๏ธ 31% of developers use agents
โ–ช๏ธ 38% have no plans to start
โ–ช๏ธ 69% of agent users report increased productivity
โ–ช๏ธ PR turnaround among them: 9.6 days โ†’ 2.4 days

That last number is a 4x change in how fast work moves through a team. Not a tweak. A different operating speed.

Also from the same survey, on tooling:
โ–ช๏ธ VS Code: 75.9%
โ–ช๏ธ Cursor: 17.9% - the fastest first-year debut the survey has ever recorded
โ–ช๏ธ Claude Code: 9.7%

The pattern is clear: developers aren't replacing their editor. They're adding an agent next to it. Here's why this matters more than the productivity number. When 69% of one group ships four times faster, that group isn't just more productive. Within a year, it's the group that sets what "normal output" means - for teams, for hiring, for what a job posting expects you to know. The gap isn't between people who use AI and people who don't. That question is settled. It's between people who let AI complete a line and people who let it complete a task.

๐ŸŽฏ Do this week:
Take one boring task you've been avoiding - a test suite nobody wrote, a migration, a refactor across five files. Give it to an agent end-to-end. Don't help it. Watch where it fails.
You'll learn more in one afternoon than from fifty tutorials, and you'll know exactly which half of that 31/69 split you belong in.

๐Ÿ“Ž Source: Stack Overflow Developer Survey 2026

Forward to someone still using AI only for autocomplete.
#tools @codingforweb
This media is not supported in your browser
VIEW IN TELEGRAM
๐ŸŽฏ After 13 years of writing code, here's the only skill I'd optimise for now...

Every week someone asks me the same question: what's the point of learning to code if AI writes it? I used to give a long answer. I'll share a short one, and the 2026 data supports every part of it.

Look at what we know:
โ–ช๏ธ 84% of developers use AI - but only 3% highly trust its output
โ–ช๏ธ 66% say their #1 frustration is code that's "almost right"
โ–ช๏ธ 45% say debugging AI output takes longer than writing it themselves
โ–ช๏ธ 45% of AI-generated code ships with a security vulnerability
โ–ช๏ธ In a controlled trial, experts felt 20% faster and were 19% slower

Every single one of those numbers points to the same place. The bottleneck is no longer writing code. It's judging code. Producing a function is now free. Knowing whether that function is correct, safe, maintainable, and actually solving the right problem - that is the entire job now. It's what 97% of developers don't trust AI to do, and it's what nobody can outsource. So if I were starting today, I'd optimise for one thing:

๐Ÿ‘‰ Read more code than you write.

Concretely, and this costs nothing:
1๏ธโƒฃ Open a repo you use and read one file properly. Not skim - read it until you could explain every line to someone else.
2๏ธโƒฃ Every time AI gives you code that works, ask it: "what's wrong with this?"
Then verify its answer yourself. It will be wrong sometimes. Catching that is the skill.
3๏ธโƒฃ Break working code on purpose. Change one thing, predict the failure, check if you were right. Being right consistently is what expertise actually is.
4๏ธโƒฃ Review a pull request in an open-source project. Badly, at first. Do it twenty times.

None of that is glamorous, none of it makes a good screenshot, and all of it compounds. The developers who'll be valuable in 2030 aren't the ones who prompt best. They're the ones who can look at code that runs perfectly and say, "This is wrong, and here's why." That was always the job. AI just deleted everything else.

๐Ÿ’ฌ What do you think - is judgement really the bottleneck, or am I wrong here?

Forward this to someone who's wondering if it's still worth learning.

#learn @codingforweb
๐Ÿ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿ”“ 45% of AI-generated code contains a security vulnerability.

Veracode tested this properly: 80 curated coding tasks, run across 100+ large language models. Not vibes โ€” a benchmark.

Results:
โ–ช๏ธ 45% of generated code introduced an OWASP Top 10 vulnerability
โ–ช๏ธ Java: 70%+ failure rate - the worst by far
โ–ช๏ธ Python, C#, JavaScript: 38 - 45%
โ–ช๏ธ Cross-site scripting (CWE - 80): 86% failure rate
โ–ช๏ธ Log injection (CWE - 117): 88% failure rate

And the line that should worry you most:
"Despite advances in LLMs' ability to generate syntactically correct code, security performance has not kept up, remaining unchanged over time." Models got dramatically better at writing code that works. They did not get better at writing code that's safe. Those two things improved on completely different curves, and almost nobody noticed. Because here's the thing about a security bug: it passes your tests. It passes code review. It works perfectly - right up until it doesn't.

๐Ÿ”– Save this. Six things to check in every piece of AI code you ship:

1๏ธโƒฃ Any user input rendered to a page โ†’ is it escaped? (XSS)
2๏ธโƒฃ Any user input reaching the database โ†’ parameterized query, never string concatenation (SQL injection)
3๏ธโƒฃ Any user input written to logs โ†’ stripped of newlines (log injection)
4๏ธโƒฃ Any file path built from user input โ†’ validated against traversal (../)
5๏ธโƒฃ Any secret, key, or token โ†’ in env vars, never in the code it just wrote
6๏ธโƒฃ Any dependency it imported โ†’ does that package actually exist? (AI invents package names, and attackers register them)

Number 6 is the one nobody checks. It has a name now: slopsquatting.

๐Ÿ“Ž Source: Veracode 2025 GenAI Code Security Report

Please send this to the person on your team who ships AI code the fastest.

#tools @codingforweb
โค1๐Ÿ”ฅ1
๐Ÿ”ฌ 30-second experiment. Ask AI for npm packages โ€” then check if they exist.
Do this right now, before reading further:
Open your AI of choice and ask:
"Give me 5 npm packages for validating and sanitising user input in Express."
Now take each name and run:
npm view \<package-name>
Count how many don't exist.
โ€”โ€”โ€”โ€”โ€”โ€”
I'll tell you what the research says, but do it yourself first โ€” the number means nothing until it's your number. A study across 16 models generated 576,000 code samples. Of every package name the models recommended:
โ–ช๏ธ 19.7% did not exist
โ–ช๏ธ Open-source models: 21.7% hallucinated
โ–ช๏ธ Commercial models: 5.2%
โ–ช๏ธ Total unique fake package names produced: over 205,000
And the models are consistent about it. Ask the same question twice and you often get the same invented name โ€” which is precisely what makes this exploitable.

Here's the part that turns a curiosity into a threat. A researcher noticed models kept recommending a package called huggingface-cli. It didn't exist. So he registered it โ€” empty, harmless, as a test. It got over 30,000 downloads in three months. Nobody attacked anyone. He just put a name where the hallucination pointed, and thousands of developers installed it because their AI told them to.
The attack has a name now: slopsquatting.
Register the package the AI invents, wait for people to install it.
๐ŸŽฏ Three seconds of defence:
Before you install anything an AI suggested, check the package page. Look at weekly downloads and the publish date. A real utility library with 40 downloads and a first release from last Tuesday is not a library. It's bait.

๐Ÿ’ฌ Run the test and post your score in the comments. Which model, how many fake out of 5. I'm genuinely curious whether it's got better or worse.

๐Ÿ“Ž Source: "We Have a Package for You!" โ€” USENIX Security

Forward this to someone who installs whatever the AI says.

#tools @codingforweb
๐Ÿ’ญ Tutorial hell is dead. Welcome to prompt hell ๐Ÿ˜ตโ€๐Ÿ’ซ

You remember tutorial hell. You watch a 12-hour course, you follow along, everything works, you feel like you're learning. Then you open an empty file to build something yourself, and you have no idea what to type. That's mostly gone now. AI killed it. Nobody's stuck watching tutorials - you just describe what you want, and something appears.

So we invented a worse version ๐Ÿ˜ˆ

Prompt hell is this: you ship things. Real things. A working app, a dashboard, an API that people use. From the outside, you look like a developer who's doing fine. And you cannot build anything without AI. Not "it's slower without it." Cannot ๐Ÿ˜ฃ

The difference from tutorial hell is what makes it dangerous. In tutorial hell, you knew you were stuck - the blank file told you every day. In prompt hell, everything works, so there's no signal, no discomfort, nothing telling you something's wrong. You can stay there for two years.

Here's the test. Three questions, answer honestly:
1๏ธโƒฃ Can you read a function you shipped last month and explain every line - not what it does, but why it's written that way?
2๏ธโƒฃ When something breaks, is your first move to think, or to paste the error?
3๏ธโƒฃ Could you build a small version of your last project with no AI at all - badly, slowly, but finish it? If it's no, no, no - that's prompt hell. It's not a character flaw. It's what happens when the tool removes the struggle, and the struggle was the part that taught you.

I'm not going to tell you to stop using AI. That advice is useless, and nobody follows it.

What actually works is narrower:
๐Ÿ”น Write first, then ask. Attempt it yourself for ten minutes. Badly is fine. Then bring the AI in. The ten minutes is where the learning happens - everything after is editing.
๐Ÿ”น Never accept code you can't explain. Not "I trust it." Explain it. If you can't, ask the AI to explain it, then check the explanation against the docs. It's wrong more often than you'd like.
๐Ÿ”น Break things on purpose. Take working code, change one thing, predict what fails, check. Being right consistently is expertise. There's no other definition.
๐Ÿ”น Once a week, build something small with nothing. No AI, no Stack Overflow. Thirty minutes. It'll be humbling the first few times. That humbling is the measurement you no longer get anywhere else. The developers who'll matter in five years aren't the ones who refused to use
AI, and they're not the ones who used it most. They're the ones who kept the struggle on purpose, after it stopped being mandatory.

Nobody's going to make you do that. That's the whole problem - and the whole opportunity.

๐Ÿ’ฌ Honest answers only: how did you score on the three questions?

Forward this to someone who's shipping fast and quietly worried about it.

#learn @codingforweb
๐Ÿ™‚ True Story
Media is too big
VIEW IN TELEGRAM
More interesting facts about the coding on my YT channel :)
https://www.youtube.com/@codingforweb-official
Videos are generated with AI, but I wrote the stories. This is my first time producing video content with AI, so don't judge me too harshly. Need your support, guys ๐Ÿ™
Who wants to buy this gadget ๐Ÿ˜‚
Please open Telegram to view this post
VIEW IN TELEGRAM
Coddytech got a fresh new look!

Check it out and also grab an ๐ŸŽ Exclusive Coddy promo code codingforweb20.
Grab it and start learning/playing ๐Ÿ‘‡

https://coddytech.net
Web Dev and AI News pinned ยซCoddytech got a fresh new look! Check it out and also grab an ๐ŸŽ Exclusive Coddy promo code codingforweb20. Grab it and start learning/playing ๐Ÿ‘‡ https://coddytech.netยป