Work effectively with AI coding agents. Understand them as language models running in a tool loop with limited context, which is why they guess, game the visible signal and report confidently. Recognise the shortcut and correctness tells in their code across Python, TypeScript/JavaScript, Rust, Java and Go, and know the damage each one does later. Verify changes instead of trusting them, review diffs fast for quality and security, judge when work is truly finished, and choose, design and steer tasks so agents can finish them well.
Silencing the checker: type escapes and suppressions card 4 of 6

Three silencers in one small diff

builds on: Agents optimise the signal they can see
After you renamed `mail` to `email` on `User`, the red line was `user.mail`. Each tell trades a check for a quiet build. - `as Order` replaced the parser. `res.json()` returns `any`, so a malformed response now flows on unchecked. - `user!` replaced the not-found branch. A missing user now crashes on this line with a bare `TypeError` instead of a clear not-found error. - `@ts-ignore` hid that `mail` no longer exists. `email` is now always `undefined`, and the `return` line stays silenced for future errors. **BETTER:** keep `parseOrder` and the `throw`, and write `user.email`.
// TypeScript
--- a/src/orders.ts
+++ b/src/orders.ts
 async function load(id: string) {
   const res = await fetch(url(id));
-  const order = parseOrder(await res.json());
+  const order = (await res.json()) as Order;
   const user = users.get(order.userId);
-  if (!user) throw notFound(id);
-  return { order, email: user.mail };
+  // @ts-ignore
+  return { order, email: user!.mail };
 }
Terms on this card
tell
An observable sign in a diff, transcript or summary that suggests a shortcut or an error.
`any`
In TS, a type that switches off checking for that value. In Go, an alias for `interface{}`: a value of any type, checked only at runtime.
`@ts-ignore`
A TS comment that suppresses every type error on the next line, including errors that appear there later.
`TypeError`
JavaScript runtime error thrown, for example, when reading a property of `undefined` or `null`.
TypeError
JavaScript runtime error raised when an operation is applied to an unsuitable value.
Learn this step by step on Bytewise
Lesson goal: Spot the escape hatches that silence the compiler or linter instead of fixing the problem: `any`, `as`, non-null `!` and `@ts-ignore` in TS; `# type: ignore` and `cast` in Python; `@SuppressWarnings("unchecked")` in Java; `any`/`interface{}` in Go; `unsafe`; and `eslint-disable`, `//nolint`, `#[allow]`. Explain which guarantee each one removes. · the whole lesson