Example Library

Good Code Bad Code

Study code review patterns through curated side-by-side examples.

Filter tracks
27 / 27 tracks

HTML

10

Review structure, semantics, forms, and accessible document foundations.

CSS

10

Review layout, responsive styling, contrast, and maintainable selectors.

JavaScript

10

Review control flow, async behavior, naming, and side effects.

TypeScript

10

Review type narrowing, API boundaries, unions, and safer function shapes.

React

10

Review component boundaries, state, effects, and rendering decisions.

Vue

10

Review single-file components, props, emits, reactivity, composables, stores, and slots.

Next.js

10

Review App Router structure, server boundaries, data fetching, and route APIs.

Node.js

10

Review runtime boundaries, async I/O, HTTP lifecycle, logging, and process safety.

Express

10

Review app factories, routers, middleware order, validation, auth, and error handling.

NestJS

10

Review modules, controllers, providers, validation pipes, guards, filters, interceptors, config, and tests.

SQL

10

Review schemas, queries, joins, indexes, transactions, migrations, and data safety.

Python

10

Review readable functions, data shapes, exceptions, typing, testability, and async boundaries.

PHP

10

Review strict types, request validation, output escaping, PDO queries, passwords, sessions, configuration, and template boundaries.

Laravel

10

Review routes, controllers, Form Requests, middleware, container bindings, Eloquent, migrations, resources, policies, queues, and feature tests.

Java

10

Review null boundaries, immutability, value objects, exceptions, resources, generics, streams, concurrency, records, and service boundaries.

Kotlin

10

Review null safety, data classes, sealed states, scope functions, collections, coroutines, Flow, JVM interop, and tests.

C

10

Review pointers, buffer bounds, allocation ownership, const contracts, structs, error codes, file cleanup, integer limits, compiler flags, and tests.

C++

10

Review RAII, smart pointers, move semantics, const references, rule of zero, exception boundaries, templates, algorithms, locks, and tests.

C#

10

Review nullable references, records, async cancellation, dependency injection, disposal, exceptions, LINQ, pattern matching, options, and tests.

Rust

10

Review ownership, borrowing, lifetimes, Result and Option boundaries, traits, async safety, Cargo features, and tests.

Lua

10

Review table shapes, nil boundaries, modules, metatables, coroutines, sandboxed execution, embedded APIs, and tests.

Git

10

Review status checks, staging, commits, branches, sync workflows, diffs, conflicts, history safety, ignores, and release tags.

FastAPI

10

Review routes, Pydantic models, dependencies, auth, async handlers, database sessions, and API tests.

Django

10

Review URL patterns, models, QuerySets, forms, views, CSRF, settings, transactions, and tests.

Go

10

Review packages, exported APIs, errors, context, interfaces, goroutines, cleanup, tests, and HTTP handlers.

Docker

10

Review build contexts, base images, cache layers, multi-stage builds, secrets, users, healthchecks, and Compose files.

Tailwind CSS

10

Review utility composition, responsive variants, states, theme tokens, dark mode, reuse boundaries, accessibility, and class conflicts.