Cat
Sahil's Moon.
section header hero

Blog Posts

The Moon has quakes too.
Bitwise Operators: With an usecase (Bitmasking)

Squeezing Bytes to store permissions.

Bitwise operators usecase (Bitmasking)

Method Chaining in Javascript

Keep it flowing with Method Chaining

How to chain methods in javascript?

Convert Normal Strings to template literals in JavaScript

Access variables from plain js strings.

Convert plain JS strings to template literals

Dependency Injection

Injecting dependencies in js.

Be ready for changes.

Linked List with Javascript Generators and Iterators

Accessing linked list with JS Generators

Linked list with JS generators & iterators

The Strategy Pattern: Replacing if/else with lookup tables

No More Ifs

The strategy Pattern.

The Moon's surface is heavily cratered due to its lack of atmosphere to protect it from impacts.