General
Programming paradigms, design patterns, clean code, HTTP headers & SameSite, browser rendering, accessibility, cross‑origin fetches, and TypeScript/Zod deep dives.
19 articles
June 6, 20264 min
GeneralGit Worktrees: Work on Multiple Branches at Once
Git worktrees let you check out several branches at once in separate folders. Skip the stash dance, review PRs, and run parallel work without losing your place.
June 2, 20265 min
GeneralCoupling Isn't Bad, Bad Coupling Is
Coupling is unavoidable in software. The danger is coupling done wrong, like giant form files and sprawling config objects that quietly destroy maintainability.
April 14, 20264 min
GeneralEmbrace Good Enough: Stop Waiting for Perfect
Learn why perfection paralyzes and how accepting "good enough" accelerates growth, ships results, and improves your work.
March 14, 20263 min
GeneralCSRF Attacks: How Hackers Can Hijack Your Users Accounts
Learn how CSRF attacks work and discover proven defense strategies including tokens, SameSite cookies, and request validation to protect your application.
March 14, 20264 min
GeneralXSS Attacks: How Malicious Code Hijacks Web Applications
Learn how XSS attacks inject malicious scripts and discover proven defenses including input validation, output encoding, and Content Security Policy.
March 11, 20265 min
GeneralDuplication Is Far Cheaper Than the Wrong Abstraction
Why premature abstractions cost more than duplicated code, and how to know when it is the right time to abstract.
January 6, 20262 min
GeneralMinesweeper Algorithms Explained
Deep dive into the algorithms behind Minesweeper - grid generation, mine placement, neighbor counting, flood fill reveal, and game state management.
January 6, 20262 min
GeneralSudoku Algorithms Explained
Deep dive into Sudoku algorithms - puzzle generation, backtracking solver, constraint validation, and candidate calculation.
December 19, 20255 min
GeneralUnderstanding TypeScript Generics
Generics are TypeScript's way of creating reusable components that work with multiple types rather than a single type.
October 4, 20256 min
GeneralThe Mental Model of SQL: Understanding Database Queries
Master SQL with a clear mental model. Learn how SQL queries work, understand JOINs, subqueries, and performance optimization through practical examples and visual explanations.
May 10, 20243 min
GeneralUnderstanding SameSite Cookies
Master SameSite cookies for enhanced web security. Learn about Strict, Lax, and None attributes, CSRF protection, and browser cookie restrictions with practical examples and best practices.
April 8, 20245 min
GeneralHow to Improve Web Accessibility
Complete guide to web accessibility best practices. Learn semantic HTML, ARIA roles, heading hierarchy, accessible forms, and inclusive design techniques to create websites usable by everyone.
March 31, 20243 min
GeneralUnderstanding How The Browser's Pixel Pipeline Works
Master browser rendering performance with the pixel pipeline. Learn about JavaScript, Style calculations, Layout, Paint, and Composite stages to eliminate jank and optimize web performance.
March 17, 20242 min
GeneralWhat is Cross-Origin Resource Sharing (CORS)?
Master CORS (Cross-Origin Resource Sharing) - understand browser security, preflight requests, credentials, and how to configure CORS properly. Complete guide with practical examples and troubleshooting.
February 25, 20242 min
GeneralHow I Use Zod with Wordle Unlimited
Learn practical Zod validation techniques through Wordle Unlimited. Discover runtime type safety, localStorage validation, error handling, and schema design for game development and data validation.
February 18, 20243 min
GeneralDeep Dive Into TypeScript Utility Types
Master TypeScript utility types including Partial, Required, Pick, Omit, Record, and advanced types. Learn type manipulation, practical examples, and best practices for type-safe development.
February 11, 20245 min
GeneralUnderstanding HTTP Headers
Complete guide to HTTP headers - learn about request and response headers, authentication, caching, CORS, and security headers. Master web communication with practical examples and best practices.
February 4, 20249 min
GeneralData Validation with Zod
Master TypeScript-first data validation with Zod. Learn schema validation, type inference, error handling, form validation, and advanced Zod techniques with practical examples and best practices.
December 29, 20236 min
GeneralHow Browsers Work
Comprehensive guide to browser internals - DNS resolution, HTTP exchange, HTML parsing, DOM construction, CSSOM, render tree, layout, painting, and compositing. Understand browser performance optimization.
GET IN TOUCH
Let's work together
I build fast, accessible, and delightful digital experiences for the web. Whether you have a project in mind or just want to connect, I'd love to hear from you.
Get in touchor reach out directly at hello@mohammadshehadeh.com