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.
Placeholders passed off as implementations card 4 of 6

Two placeholders behind one 'implemented'

builds on: Agents optimise the signal they can see
Tells: - the 'Simplified for now' comment - a two-entry rate table baked into code - `.get(..., 1.0)`, which converts any unknown pair 1:1 - a `refund` whose body is only a docstring and `pass`, so it returns `None` and raises nothing. Later cost: JPY orders are converted 1:1 and billed at the wrong amount with no error. Any caller that treats 'no exception' as success marks refunds done while no money moves. Both stay invisible until customers complain.
// Python
--- a/billing/rates.py
+++ b/billing/rates.py
@@ -40,0 +41,10 @@
+def convert(amount, src, dst):
+    # Simplified for now
+    rates = {("EUR", "USD"): 1.08,
+             ("GBP", "USD"): 1.27}
+    r = rates.get((src, dst), 1.0)
+    return amount * r
+
+def refund(order):
+    """Refund order via the provider."""
+    pass
Terms on this card
later cost
The concrete damage a shortcut does after merge, such as a hidden bug, silent data corruption or maintenance burden.
`pass`
Python statement that does nothing. A function whose body is only `pass` returns `None` and raises no error.
docstring
A string literal as the first line of a Python function or class, used as documentation. It has no effect on what the code does.
`.get(..., 1.0)`
Python dictionary lookup with a default: if the key is missing it returns 1.0 instead of raising an error.
JPY
Currency code for the Japanese yen. EUR, USD and GBP are the euro, US dollar and British pound.
Learn this step by step on Bytewise
Lesson goal: Spot code that only looks finished: TODOs, `pass`, `NotImplementedError`, `todo!()`, hardcoded sample data, or a mock left on the production path, all while the summary says 'implemented'. Search for these patterns before accepting a change. · the whole lesson