How do I keep my coding skills while using AI?
AI & coding skills · 9 min read
Published
To keep your coding skills with AI, write your first attempt, then use AI to explain and check it. Add a ten-minute unassisted drill per skill.
Keep your coding skills in use. Explore questions from Reddit, X, Medium and Quora, try an original exercise, and find a practical next step.
AI & coding skills · 9 min read
Published
To keep your coding skills with AI, write your first attempt, then use AI to explain and check it. Add a ten-minute unassisted drill per skill.
Recall & learning · 5 min read
Published
Turn a familiar-looking solution into something you can reconstruct. Use a small Python exercise, a changed requirement and a follow-up attempt without hints.
AI code review · 5 min read
Published
Write the contract, find a counterexample and check the fix. Practise on a JavaScript validator that passes ordinary examples but accepts an empty batch.
Returning to coding · 5 min read
Published
Find out what is rusty before restarting a whole course. Try a small debugging task, then use a one-week plan for recall, tracing and a working project change.
AI & coding skills · 10 min read
Published
Can't code without AI? Take a 4-check test with the assistant off, then train your weakest check 15 minutes a day for 4 weeks, with a re-test each Friday.
Data & APIs · 4 min read
Published
Make a payload readable while keeping large identifiers, string escapes and duplicate keys visible. Separate syntax validation from data validation.
Dates & time · 4 min read
Published
Trace one instant through Unix seconds, milliseconds and ISO offsets. Reject impossible dates and keep local scheduling separate from timestamp conversion.
Code review · 4 min read
Published
Use a small default-value change to review a diff, separate whitespace noise and choose examples that expose changed behavior.
JavaScript · 6 min read
Published
Trace the first check, last visit and first failed condition in a JavaScript loop. Work through exclusive bounds, larger steps and reverse loops.
JavaScript · 6 min read
Published
Follow a zero-retry setting through logical OR and nullish coalescing. Compare false, empty strings, null and undefined before choosing a default.
SQL & databases · 5 min read
Published
Trace a three-customer report through LEFT JOIN, ON filters, WHERE predicates and COUNT(column) versus COUNT(*) without dropping zero-count rows.
Python · 6 min read
Published
Follow two stateful Python bugs line by line: a generator partially consumed by any() before sum(), and a default list shared across calls.
Debugging & logs · 5 min read
Published
Read an interleaved gateway, checkout and ledger log timeline. See how a tight caller timeout and a retry without an idempotency key cause duplicate writes.
Code tracing · 8 min read
Published
Worked trace table examples in Python: a for loop over range, a while loop, a running maximum and a nested loop, plus column rules and common mistakes.
Code tracing · 12 min read
Published
Ten code tracing questions with worked answers: operator precedence, if/elif chains, loops, break, scope, references, closures, recursion and binary search.
TypeScript · 13 min read
Published
Ten idiomatic TypeScript patterns, each compiled under strict mode: literal unions over enums, satisfies over as, unknown at boundaries, exhaustive switches.
Python · 12 min read
Published
How Python list comprehensions work: if and if-else, nested loops, dict and set forms, timings vs a for loop, four traps and when a loop is clearer.
Python · 15 min read
Published
Ten idiomatic Python patterns, each run on CPython 3.11 to 3.15 with its real output and one trap where the idiom differs from the code it replaces.
Python · 16 min read
Published
Python debugging exercises: 10 short programs that run but give wrong output. Find the faulty line, fix it and prove it with an assert. Answers included.
Debugging & logs · 9 min read
Published
Print debugging is fine if you predict the output first. A 5-step method and 7 ways printed output misleads, each re-run in Python, Node and TypeScript.
Python errors · 8 min read
Published
TypeError: list indices must be integers or slices, not str. Read the word after ‘not’, then trace the list back to its source. Re-run on CPython 3.9-3.15.
Debugging & logs · 10 min read
Published
How to read a stack trace: error line first, then the first frame in your code. Python prints it last, JavaScript first. Re-run on 8 Python and 4 Node builds.
Recall & learning · 8 min read
Published
How to memorize code: retype it from memory and grade it by tests. A valid rewrite scored 0.36 similarity and passed; a missing import scored 0.91 and failed.
Code review · 10 min read
Published
Code review interview prep: a pass order, a comment format and 4 diffs we ran. A set rewrite passed its test on only 56 of 100 hash seeds.
Debugging & logs · 12 min read
Published
Debugging interview prep: a 6-step routine and a mock round run on 7 Python builds. The same ranking failure text appeared after two different fixes.
Code review · 12 min read
Published
Refactoring interview prep: a five-step routine and a mock round run on 7 Python builds. Four plausible edits pass 3 tests but not 8; one breaks only on 3.12+.
Code tracing · 10 min read
Published
How to understand a codebase: a 5-step tour of Click 8.5.1. One edit fails 1 of 2,459 tests, another fails 56. Same counts on Python 3.11 to 3.15.
AI & coding skills · 9 min read
Published
AI-assisted coding interview: a 3-phase mock round you can run. Four hand-written AI-style patches pass all 5 visible tests; 3 still fail a follow-up check.
Code tracing · 8 min read
Published
Code comprehension round: answer 7 questions about a 159-line module, then run it. Three hand-written fixes pass all 8 tests and still fail a probe.
Python · 9 min read
Published
Python race condition on 9 builds: counter += 1 lost updates on 3.9 and free-threaded 3.14, none on 3.10 to 3.15. Run four shapes that fail everywhere.
JavaScript · 10 min read
Published
forEach does not wait for an async callback. We timed 9 loop shapes on Node 18, 22 and 24: which wait, which overlap, which crash on a rejection.
Code tracing · 14 min read
Published
A dry run is running code by hand with a table. In our worked example, 5 of 10 test inputs hide the bug: how to pick the inputs that catch it.
Git · 12 min read
Published
Git has no merge --dry-run (exit 129). We ran three stand-ins on git 2.39.5 and show the exit codes, a fast-forward trap and a rebase that disagrees.
Looking for a broader practice method? Browse the coding skills guides for tracing, debugging, recall and code review.