Example Library
Good Code Bad Code
Study code review patterns through curated side-by-side examples.
HTML
Review structure, semantics, forms, and accessible document foundations.
CSS
Review layout, responsive styling, contrast, and maintainable selectors.
JavaScript
Review control flow, async behavior, naming, and side effects.
TypeScript
Review type narrowing, API boundaries, unions, and safer function shapes.
React
Review component boundaries, state, effects, and rendering decisions.
Vue
Review single-file components, props, emits, reactivity, composables, stores, and slots.
Next.js
Review App Router structure, server boundaries, data fetching, and route APIs.
Node.js
Review runtime boundaries, async I/O, HTTP lifecycle, logging, and process safety.
Express
Review app factories, routers, middleware order, validation, auth, and error handling.
NestJS
Review modules, controllers, providers, validation pipes, guards, filters, interceptors, config, and tests.
SQL
Review schemas, queries, joins, indexes, transactions, migrations, and data safety.
Python
Review readable functions, data shapes, exceptions, typing, testability, and async boundaries.
PHP
Review strict types, request validation, output escaping, PDO queries, passwords, sessions, configuration, and template boundaries.
Laravel
Review routes, controllers, Form Requests, middleware, container bindings, Eloquent, migrations, resources, policies, queues, and feature tests.
Java
Review null boundaries, immutability, value objects, exceptions, resources, generics, streams, concurrency, records, and service boundaries.
Kotlin
Review null safety, data classes, sealed states, scope functions, collections, coroutines, Flow, JVM interop, and tests.
C
Review pointers, buffer bounds, allocation ownership, const contracts, structs, error codes, file cleanup, integer limits, compiler flags, and tests.
C++
Review RAII, smart pointers, move semantics, const references, rule of zero, exception boundaries, templates, algorithms, locks, and tests.
C#
Review nullable references, records, async cancellation, dependency injection, disposal, exceptions, LINQ, pattern matching, options, and tests.
Rust
Review ownership, borrowing, lifetimes, Result and Option boundaries, traits, async safety, Cargo features, and tests.
Lua
Review table shapes, nil boundaries, modules, metatables, coroutines, sandboxed execution, embedded APIs, and tests.
Git
Review status checks, staging, commits, branches, sync workflows, diffs, conflicts, history safety, ignores, and release tags.
FastAPI
Review routes, Pydantic models, dependencies, auth, async handlers, database sessions, and API tests.
Django
Review URL patterns, models, QuerySets, forms, views, CSRF, settings, transactions, and tests.
Go
Review packages, exported APIs, errors, context, interfaces, goroutines, cleanup, tests, and HTTP handlers.
Docker
Review build contexts, base images, cache layers, multi-stage builds, secrets, users, healthchecks, and Compose files.
Tailwind CSS
Review utility composition, responsive variants, states, theme tokens, dark mode, reuse boundaries, accessibility, and class conflicts.