Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungYour agent picks one of two options. Can you test that choice?(23.09.2026 um 01:10 Uhr)
Sichere ProgrammierungWe audited 110 AI usage tools. Here is where the numbers go wrong.(23.09.2026 um 01:12 Uhr)
Sichere ProgrammierungWhy Does Your AI Coding Agent Start Forgetting What It Was Doing?(23.09.2026 um 01:19 Uhr)
Sichere ProgrammierungYour agent picks one of two options. Can you test that choice?(23.09.2026 um 01:10 Uhr)
Sichere ProgrammierungWe audited 110 AI usage tools. Here is where the numbers go wrong.(23.09.2026 um 01:12 Uhr)
Sichere ProgrammierungWhy Does Your AI Coding Agent Start Forgetting What It Was Doing?(23.09.2026 um 01:19 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

AI coding anti-patterns: 6 things to avoid for better AI coding

Introduction Since joining Lingo.dev, startup life has been pushing me to eek out as much as I can from AI coding assistants. The more I do this though, the more I've identified counter-productive patterns that I'm sure other people are…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




Introduction



Since joining Lingo.dev, startup life has been pushing me to eek out as much as I can from AI coding assistants. The more I do this though, the more I've identified counter-productive patterns that I'm sure other people are suffering from.



This article covers some of the most significant anti-patterns that I want to proclaim from my soapbox.






1. Assuming understanding



If your AI assistant regularly goes off the rails, your prompts might not be as clear as you think. There's probably a lot of room for interpretation, leading to outcomes that are technically correct but not what you want.



The simplest option is to ask the AI to explain its understanding of your prompt back to you in its own words.



For more reliability, discuss the probelm and intent with the AI, prompting it to ask questions until the problem space is well understood. You'll likely realize your own understanding has some significant gaps.






2. Persisting with dead-end conversations



When an AI assistant goes down the wrong path, it can be difficult to get it back on the right path.



If you feel like you're not making progress in a certain conversation, don't fall into the sunk cost fallacy. Instead, start over and try again.



LLMs are slot machines, and simply pulling the lever again can be the most effective option. (This is one of those "If it is stupid but it works, it isn't stupid" ideas.)






3. Wasting tokens on codebase exploration



AI coding tools are useful for exploring a codebase, but they also stumble down irrelevant rabbit holes. This means all sorts of useless information can end up in the context window, degrading the performance of the model.



If you know what the relevant parts of the codebase are, or if you know it'll only take you a couple of minutes to figure it out, refer to those files directly.



Alternatively:




  1. Use AI to explore the codebase.

  2. Ask the AI to return the list of file paths relevant to a certain task.

  3. Start a new conversation and reference those files directly.



That's the best of both worlds with only a couple of extra keystrokes.






4. Using too many MCP servers



Model Context Protocol (MCP) servers can be useful — I'm particularly fond of Context7 and Playwright MCP — but each server exposes tools with descriptions and those descriptions eat into the context window.



The more MCP servers that are enabled by default, the worse your starting point for every conversation. It's an immediate handicap.



Here's what I recommend:




  • Only enable MCP servers when they're relevant to the task you're working on.

  • Get comfortable with toggling MCP servers on and off in your coding assistant.

  • Consider if an MCP server is even necessary. For example, AI coding tools are excellent at using the GitHub CLI, so setting up an MCP to interact with GitHub may not be the best trade-off.






5. Bloated memory files



Most AI coding assistants have some concept of "memory" or "rules". These are instructions that are automatically injected into the context window based on what part of the code is being explored or modified.



These files can be a huge timesaver, but it's also easy for them to become bloated over time with an ever-expanding list:




  • Preferences that aren't relevant to every request

  • Rules that are better followed without the use of AI



Here's what I recommend:




  • Start by putting preferences in text files that you have to explicitly reference. If you find reference them regularly, "promote" them to memory files.

  • Don't waste the context window on rules that can be handled deterministically through linting and formatting tools.

  • Review and prune memory files on a regular basis. Ensure that every rule fights for its right to exist.






6. Having loyalty to any assistant or model



On Twitter, I regularly see die-hard fans of Claude Code or Codex or Cursor or whatever else. This kind of fandom only benefits the makers of the tools, not the people using the tools.



Instead:




  • Be willing to jump between tools and models

  • Regularly reevaluate (possibly outdated) assumptions about the "best" tools

  • Don't buy into the hype that tool makers are selling



I don't think it's necessary to constantly seek greener grass, but at least don't become static when the ground is shifting so quickly.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten AI coding anti-patterns: 6 things to avoid for better AI coding

Thematisch verwandte Begriffe: coding, antipatterns, things, avoid · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-17636 | IBM Financial Transaction Manager (FTM) for RedHat OpenShift could allow…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick