Flashcards

Quick study sessions to strengthen memory and retain key concepts.

Flashcard Study

Python: Runtime Patching

Front

Why does OrderOps care about runtime patching?

Because the codebase is mature enough that subtle language behavior now influences correctness, maintainability, and the quality of…

View Card →
Flashcard Study

Python: Runtime Patching

Front

What is the best default for runtime patching?

Choose the simplest shape that keeps the rule explicit, testable, and easy for the next engineer to read.…

View Card →
Flashcard Study

Python: Runtime Patching

Front

How should you explain runtime patching in an interview?

Use patching in tests or controlled seams, but do not let it become the architecture of the production…

View Card →
Flashcard Study

Python: Runtime Patching

Front

What is the main pitfall around runtime patching?

Heavy runtime patching can hide dependencies and make behavior difficult to reason about. Naming the pitfall early helps…

View Card →
Flashcard Study

Python: Runtime Patching

Front

What is the core rule behind runtime patching?

Use patching in tests or controlled seams, but do not let it become the architecture of the production…

View Card →
Flashcard Study

Python: Reference Counting and GC

Front

What does good reference counting and gc code look like?

It is explicit about the rule, honest about the data shape, easy to test, and easy to explain…

View Card →
Flashcard Study

Python: Reference Counting and GC

Front

What is the next improvement after the first working version of reference counting and gc?

Clarify one boundary, add one focused test, and remove one avoidable ambiguity. Small improvements that directly reduce risk…

View Card →
Flashcard Study

Python: Reference Counting and GC

Front

What anti-pattern should you watch for with reference counting and gc?

Using the feature to compress code while making the rule harder to test, debug, or explain. Compression is…

View Card →
Flashcard Study

Python: Reference Counting and GC

Front

What does a good verbal answer about reference counting and gc sound like?

Clear, concrete, tradeoff-aware, and tied to one real workflow or bug pattern. Interview answers improve when they sound…

View Card →
Flashcard Study

Python: Reference Counting and GC

Front

What senior-level judgment belongs with reference counting and gc?

State when you would choose this approach, when you would not, and which signal would trigger a different…

View Card →