Blog
-
TypeScript Error Handling Patterns | Result Types· never
Master TypeScript error handling beyond try/catch. The default JavaScript/TypeScript error handling has a critical problem: // What is error? unknown.
-
C++20 Coroutines Complete Guide
C++20 coroutines: co_await, co_yield, promise types, generators, tasks, awaitables, and production patterns with examples.
-
AWS Deployment for Node.js | EC2
Deploy Node.js on AWS: EC2 bootstrap with PM2 and Nginx, Elastic Beanstalk with eb CLI, and serverless Lambda with serverless-http—security groups, env ...
-
C++ Virtual Functions: Polymorphism, override, and Pure
Virtual functions in C++: dynamic dispatch, virtual vs non-virtual, pure virtual and abstract classes, virtual destructors, vtables, and slicing pitfalls.
-
C++ iterator | 'Iterator' Complete Guide
A C++ iterator is an object that iterates over container elements.
-
TypeScript Utility Types | Partial· Pick
TypeScript utility types: Partial, Required, Readonly, Pick, Omit, Record, Exclude, Extract, ReturnType, Parameters—API DTOs, forms, and state patterns.
-
C++ random numbers — Complete Guide
Why rand() is problematic, how to use random_device, mt19937, and distributions in C++11, with dice simulations, shuffling, weighted picks, seeding, and...
-
C++ Algorithm Count: std::count, count_if, all_of, any_of &
Count matching values and predicates with std::count and count_if; learn all_of, any_of, none_of, empty ranges, and short-circuit behavior in C++.
-
C++ Templates: Beginner’s Complete Guide to Generic
C++ templates: function and class templates, instantiation, typename vs class, specialization basics, and why definitions usually live in headers.
-
TypeScript Generics | Complete Guide
Generics in TypeScript: typed identity functions, generic functions and classes, constraints with extends and keyof, caches, and common mistakes—tutoria...