Understanding Class-Based and Prototype-Based InheritanceWhen diving deep into object-oriented programming, two primary paradigms stand out: class-based inheritance (as seen in Java, C#, etc.) and prototype-based inheritance (as seen in JavaScript). Though they work differently under the hood, both aim to ...Feb 16, 2025 路 3 min readcodebyritvik.hashnode.dev
Introduction to x86 Processor ArchitectureComputer architecture plays a crucial role in shaping the interaction between software and hardware. It provides an abstraction layer for software developers, allowing them to understand and write applications for a specific computer system. At the h...Feb 20, 2024 路 4 min readcodebyritvik.hashnode.dev
Macrotask and Microtask exercisesIn JavaScript, understanding the order of execution is crucial for building reliable and predictable applications. The combination of event loop and promises plays a significant role in managing asynchronous code. In this blog, we will explore the ex...Jul 11, 2023 路 2 min readcodebyritvik.hashnode.dev
Event Loop, Callbacks, Promises, async-await in JavaScript : Part 2Introduction In modern JavaScript, asynchronous programming plays a crucial role in building responsive and efficient web applications. One of the core components of asynchronous programming is promises. We discussed the callbacks and their drawbacks...Jul 11, 2023 路 4 min readcodebyritvik.hashnode.dev
Throttling, Debouncing and RequestAnimationFrame in JavaScriptIntroduction In web development, resource-intensive tasks such as event handling, DOM manipulation, and API requests can sometimes lead to performance issues and a sluggish user experience. To mitigate these problems, developers can employ techniques...Jun 27, 2023 路 4 min readcodebyritvik.hashnode.dev