every note, in one binder ✎

Developer interview notes & guides — Page 11

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

read ✓Software Testing · mid

Testing Error Paths

Test failures and edge inputs deliberately, assert the error type and message, and stop the happy path from hiding bugs.

~2 min readread →
read ✓Software Testing · mid

Unit and Integration Test Balance

Separate fast isolated unit tests from integration tests that use real dependencies, and find the balance that catches real bugs.

~2 min readread →
read ✓Software Testing · hard

Parallel Test Isolation

Run tests in parallel without interfering by removing shared state, isolating resources, and randomizing order.

~2 min readread →
read ✓Software Testing · mid

Red, Green, Refactor

Write a failing test first, make it pass minimally, then refactor under green, and understand why the order matters.

~2 min readread →
read ✓Software Testing · mid

Snapshot Tests Worth Reviewing

Keep snapshots small and intentional, review every diff, and stop large snapshots from becoming rubber-stamped assertions.

~2 min readread →
read ✓Software Testing · mid

Test Data Builders and Object Mothers

Build valid test objects with defaults and override only what a test cares about, to keep tests readable and robust.

~2 min readread →
read ✓TypeScript · hard

TypeScript Abstract Classes and Contracts

Share behavior with abstract classes, enforce required members, and decide when an interface or composition is the better contract.

~2 min readread →
read ✓TypeScript · mid

TypeScript Enums vs Union Types

Compare enums with unions of string literals: runtime cost, serialization, exhaustiveness and which one fits application code.

~3 min readread →
read ✓TypeScript · hard

TypeScript Key Remapping in Mapped Types

Rename mapped-type keys with an as clause, filter keys by mapping to never, and build getter and prefixed types generically.

~2 min readread →
read ✓TypeScript · mid

TypeScript Strict Compiler Flags

Turn on strict checks, know which flags strict bundles, and layer the non-strict extras such as noUncheckedIndexedAccess.

~2 min readread →
read ✓TypeScript · mid

TypeScript Template Literal Types

Compose string types with template literals, interpolate unions to generate combinations, and understand how they stay type-level only.

~2 min readread →
read ✓TypeScript · hard

TypeScript this Types and Fluent APIs

Use polymorphic this return types for builders, keep chaining correct through subclasses, and constrain this parameters.

~2 min readread →
esc