JavaScript – Closures and Scope
Understand JavaScript scope and closures: global, function and block scope, the scope chain, lexical scope, closures for private state, function factories, once, memoize and debounce, the classic loop bug, and…
Tech lead and full-stack engineer, Bengaluru
I lead full-stack delivery for hospitality and SaaS products, from system architecture and API design to UI, third-party integrations and production deployment, across web, mobile and desktop.
Understand JavaScript scope and closures: global, function and block scope, the scope chain, lexical scope, closures for private state, function factories, once, memoize and debounce, the classic loop bug, and…
Database sharding and partitioning explained simply: vertical vs horizontal partitioning, range, hash, consistent hashing and directory-based sharding, how to pick a shard key, cross-shard queries and resharding, with…
Learn the trie (prefix tree), the data structure behind autocomplete and spell checkers: how it stores words letter by letter, how to insert, search, autocomplete, count and delete, plus longest common prefix and word…
Keep your React app responsive during heavy updates. Learn useTransition and useDeferredValue with tested React 19 examples: a laggy search fixed with a deferred value, tabs that stay clickable, async actions with…
Dependency injection explained in plain English: why creating dependencies inside a class causes trouble, how constructor, setter and function injection fix it, how it makes testing easy, and how to build a tiny DI…