every note, in one binder ✎

Developer interview notes & guides — Page 28

Focused explanations and longer guides, with worked scenarios, common mistakes and interview exercises across every chapter.

read ✓Python · mid

Python Dataclasses and Mutable Fields

Python Dataclasses and Mutable Fields. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Python · mid

Python Decorators and Function Metadata

Python Decorators and Function Metadata. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Python · mid

Python Hashability and Dictionary Keys

Python Hashability and Dictionary Keys. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Python · easy

Python Identity Versus Equality

Python Identity Versus Equality. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Python · hard

Python Imports and Side Effects

Python Imports and Side Effects. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Python · easy

Python Iterators and Exhaustion

Python Iterators and Exhaustion. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Python · easy

Python Mutable Defaults and Shared State

Python Mutable Defaults and Shared State. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Python · hard

Python Pathlib and Safe File Selection

Python Pathlib and Safe File Selection. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Python · mid

Python Stable Sorting and Key Functions

Python Stable Sorting and Key Functions. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Python · hard

Python Test Fixtures and State Isolation

Python Test Fixtures and State Isolation. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓React · hard

React Dialogs: Focus, Escape and Restoration

Build an accessible React modal: native dialog with showModal, focus on open, Escape to close, focus restoration and testing with keyboard only.

~7 min readread →
read ✓React · mid

React UseCallback and Captured Values

How useCallback dependencies decide which state a callback sees, why an empty array freezes stale values, and when useCallback is worth it.

~6 min readread →
read ✓React · mid

React Context Scope and Update Costs

Which components re-render when a React context value changes, why an inline value object re-renders every consumer, and how to scope providers.

~6 min readread →
read ✓React · easy

Controlled vs Uncontrolled Inputs in React

Compare controlled and uncontrolled React inputs with examples, reset behavior, checkbox handling and fixes for the uncontrolled-to-controlled warning.

~3 min readread →
read ✓React · mid

React Custom Hooks and Shared Logic

Designing React custom hooks: they share logic not state, the use prefix rule, stable return values, and documenting what callers must pass.

~6 min readread →
read ✓React · easy

React Derived Values Without Extra State

Stop syncing state with useEffect: compute filtered lists, totals and validity during render in React, and use useMemo only for real cost.

~6 min readread →
esc