Kacam.net

Your own work

答辩:重构还是重写

默认答案是重构,重写要你举证 —— 举得出来吗?

Copy the prompt, then pick a model. It plays the interviewer and asks you through it scene by scene instead of handing you the answer.

On a phone with the app installed, the system opens the app directly. Links cannot open external apps inside WeChat — open it in a browser first.

The copied text ends with the answer key the model grades you against. Don't read it yourself first — working it out on your own is the point.

旧代码里那些看起来没道理的分支,每一个都对应一个当年真实发生过的 bug。重写等于把这些修复全部扔掉,再花几个月一个一个重新踩回来 —— 而且它们没有文档、没有测试、没人记得。

所以这一份把举证责任放在你这边:说不出「为什么重构做不到」,这个提案就没立住。它还会问一个提案里最贵、也最常被跳过的问题:重写期间,旧系统还要不要继续加功能?

答「不加」的,它会追一句:业务方同意冻结多久,你去问过吗。

★★★★☆ · about 40 min · Tests: 重写才成立的条件、并行期的双份成本、行为一致性怎么验

What this one tests

Trade-offs and costs Concrete numbers Failure and outages

Have you done this one?

Sign in to mark this one as practised — next time you come back you'll see when you did it.

Notes from people who did this one

Nobody has written yet. After you run it, say what came out of the conversation — which scene stumped you, which conclusion you changed afterwards.

Sign in to write a note.

How to use this

The more specific the prompt, the sharper the grading: each specific one carries the root-cause checklist for that kind of situation, and the generic group is the fallback when none of them fits. The system design set grades you on "a benefit with no cost attached means you memorised it"; here the line is different: if you can't give a specific, it's empty.

How to start

  1. Pick one, open it, copy the prompt.
  2. Paste it into a brand-new conversation.
  3. Say in a sentence or two which thing you're going to talk about, then wait for its questions — unlike the system design set, where you say nothing after pasting.

Three commands you can call out at any time

  • 跳过 move to the next scene now
  • 换一个 start over with a different project, outage or experience
  • 复盘 jump to the wrap-up and print the review card

Three traps

  • When it starts consoling you, point it back to the "don't praise me" rule — the two retrospectives are the likeliest to summon a model's soothing persona, which turns the whole thing into emotional support rather than a retrospective.
  • Cut it off when it tries to complete your answer for you. You say "I don't remember", it offers "probably because the schedule was tight" — and that sentence is no longer your memory.
  • Before pasting a CV or a design doc, strip out phone numbers, email addresses and anything your company wouldn't want leaving the building.

Got a proposal to pitch? Start with defending it. Just finished a project or lived through an outage? Do those retrospectives while you still remember. Job hunting? Audit the CV first, then take the lines that survived into the behavioural drill.