Posts
All my posts.
Unraveling the mysteries of function closures in Javascript and Typescript
Posted on:November 26, 2023Hey ninjas 🥷! If you've ever come across the concept of function closures, you know it packs quite a punch in the programming dojo. Think of it as a hidden technique that, once mastered, can make your code more efficient and encapsulated. Today, we'll step into the dojo together to learn about function closures - what they are, their benefits, and how to use them to our advantage.
Mastering function binding: a deep dive into .bind(), .call() and .apply() functions in Javascript and TypeScript
Posted on:November 19, 2023In the universe of Javascript and TypeScript programming, functions stand at the heart of crafting elegant and scalable code. To navigate the depths of Javascript and TypeScript with the poise of a seasoned sensei, a developer must grasp the nuanced arts of function binding. Here, we unsheathe the revered .bind(), .call(), and .apply() techniques, each wielding distinct powers to manipulate and direct your code's execution, much like a martial artist controls their qi.
Boost Your Algorithmic Skills: Solving the Two Sum Problem
Posted on:October 15, 2023This blog post explores three different approaches to solving the Two Sum problem, with TypeScript code examples provided for each approach. This post will help you choose the best approach for your specific use case.