Posts

System Design

Importants 1.    1. Understanding of System Design Well usually when we build a System ( an entire application/software ) from scratch, there is actually some sort of background design behind it.  Lets see with the real world exapmple of opening a restaurant.  So lets begin with the example of pizza parlor and we only have just 1 chef, so there must be a time comes where 1 chef can't control all the orders, which are given by customers Q => A quick question for you, how can u control more orders?  Ans. -> Obviously, if you think like a manager then the first thing u can do is that u ask the chef to work hard and pay him more( more input of money then output of pizzas by chef ), or either you can increasing the number of chefs or you can increasing the number of restaurants.  -> So if we ask for chef to work hard, then in technical terms we can think of chef as a computer then this is like, Optimise processes and increase throughtput using the same ...

TypeScript Notes

 ðŸ›£️ TypeScript Roadmap (With Topics) ✅ 1. TypeScript Basics (Core Concepts) What is TypeScript? Why use it over JavaScript? Installing and setting up TypeScript ( tsc , tsconfig.json ) Type Annotations string , number , boolean , any , unknown , void , never , null , undefined Type Inference Union ( | ) and Intersection ( & ) Types Literal Types Enums Type Aliases vs Interfaces Tuples Type Assertions ( as keyword) const , let , var differences (TS-specific cases) Type narrowing ( typeof , in , instanceof ) 📦 2. Functions and Objects Function Types (with params & return types) Optional and Default Parameters Rest Parameters & Overloads Function type alias Callbacks with type Object Types & Index Signatures Readonly Properties Destructuring with types 📚 3. Advanced Types Interfaces vs Type Aliases (deep dive) Type Extensions ( extends ) keyof , typeof , in , infer , as Mapped Ty...