Hoisting: JavaScript's Weird Behavior
Vars pulled to the top? Magic illusion caused by impatient JS Engine's 'Pre-reading'.

Writing about development and technology.
Vars pulled to the top? Magic illusion caused by impatient JS Engine's 'Pre-reading'.

Cooking Class (OOP) vs Math Class (FP). Eliminating bugs by rejecting State.

Encapsulation, Inheritance, Polymorphism, Abstraction. Understanding via Lego Robots.

Apple + 3 = ? Error means Strong. 'Apple3' means Weak. The magic of [] + [] = 0 and why TypeScript is our savior.

When is type decided? Strict Bureaucrat (Static) vs Flexible Startup (Dynamic).

Developers must use Mac? That was before WSL2. Planting Linux Kernel inside Windows.

What if Airbag deploys late due to Windows Update? It doesn't mean 'Fast'. It means 'Deterministic'.

Conductor of VMs. Is the CEO running it directly (Type 1), or hiring a manager (Type 2)?

Running Windows & Linux on my MacBook. Foundation of Cloud Computing (AWS).

What if pull the plug while copying files? OS's habit of logging to prevent corruption.

Filename is just a shell in Linux. The real identity is inode number. Secret of ls -i.

HDD is just a giant field of 0s and 1s. Magic that creates 'File' and 'Folder'.

PC froze. Mouse moves but clicks don't work. HDD led blinking like crazy. This is Thrashing.

Desk is full. Which book to throw away? Oldest? Least used? OS's decision making.

If Paging is mechanical chopping, Segmentation is meaningful organization. Managing by Code, Data, Stack.

Slice memory into identical grid blocks. The standard technique aiming to solve External Fragmentation.

Why does my server crash? OS's desperate struggle to manage limited memory. War against Fragmentation.

Processes are isolated. But how do Chrome tabs exchange data? From Pipes to Sockets.

Code is perfect, but money disappears occasionally. Worst bugs created by timing issues.

Understanding sync with Restroom Key (Mutex) and Waitlist (Semaphore). Ownership differences, Spinlocks, Monitors, and Priority Inversion (Mars Pathfinder).
