TypeScript — Utility Types
TypeScript: Type SystemTypeScript — Utility TypesIn this lesson, we are going to learn about the generic types provided by TypeScript out of the box. These types are helpful to construct new types from...
View ArticleTypeScript — Generics
TypeScript: Type SystemTypeScript — GenericsIn this lesson, we are going to dive into a sophisticated yet beautiful world of Generics. Generics gives us the ability to create highly composable and...
View ArticleTypeScript — Data Immutability
TypeScript: Type SystemTypeScript — Data ImmutabilityIn this lesson, we are going to learn a few techniques to make values immutable, both at compile-time and at runtime.(source:...
View ArticleTypeScript — Polymorphism
TypeScript: Type System and OOPTypeScript — PolymorphismIn this lesson, we are going to look at some of the basic polymorphic principles provided by the language.(source: unsplash.com)Polymorphism is a...
View ArticleTypeScript — Promises and Async/Await
TypeScript: New FeaturesTypeScript — Promises and Async/AwaitIn this lesson, we are going to learn about ES6 Promises implementation in TypeScript and async/await syntax.(source: unsplash.com)Promises...
View ArticleTypeScript — Module System
TypeScript: Module SystemTypeScript — Module SystemIn this lesson, we are going to take a look at how the ECMAScript module system works and how TypeScript implements module resolution strategies. In...
View ArticleTypeScript — Namespaces
TypeScript: Module SystemTypeScript — NamespacesIn this lesson, we are going to learn about the precursor of the ECMAScript module implemented purely in TypeScript. These are called namespaces and they...
View ArticleTypeScript — Compilation & the TypeScript Compiler
TypeScript: CompilationTypeScript — Compilation & the TypeScript CompilerIn this lesson, we are going to learn about the settings of the TypeScript compiler and the usage of the tsconfig.json...
View ArticleA brief introduction to TypeScript’s command-line interface and compiler...
TypeScript: CompilationIn the previous lesson, we learned how to tweak the TypeScript compiler to produce the desired compilation result using the tsconfig.json file. In this lesson, let’s learn how to...
View ArticleA quick introduction to “Type Declaration” files and adding type support to...
TypeScript: Compilation and Type SystemA quick introduction to “Type Declaration” files and adding type support to your JavaScript packagesIn this lesson, we are going to take a closer look at type...
View ArticleA quick introduction to the “Property Descriptor” of the JavaScript objects
JavaScript ObjectsA JavaScript object, in a nutshell, is a data structure to hold key-value pairs. But unlike a simple map or dictionary, JavaScript objects are highly configurable. In this lesson, we...
View ArticleA brief introduction to Metaprogramming in JavaScript
Metaprogramming in JavaScriptIn this lesson, we are going to learn what “metaprogramming” is (in general) and how we can implement some metaprogramming concepts in JavaScript using old and new...
View ArticleSome you may be able to find here:...
Some you may be able to find here: https://medium.com/rungo/http-server-client-programing-de0105b0744c. Some are WIP
View ArticleIntroduction to JavaScript “Symbols” and their use in Metaprogramming
Metaprogramming in JavaScriptIn this lesson, we are going to learn about JavaScript symbols and some of the new JavaScript features that depend on them. We will also discuss how they aid...
View ArticleIntroduction to “Reflect” API for Metaprogramming in JavaScript
METAPROGRAMMING IN JAVASCRIPTIn this lesson, we are going to learn about the `Reflect` global object available in the ES2015+. It provides various static functions to introspect and modify JavaScript...
View ArticleIntroduction to “Proxy” API for Metaprogramming in JavaScript
METAPROGRAMMING IN JAVASCRIPTIn this lesson, we are going to learn about the `Proxy` class available in the ES2015+. It provides a mechanism to intercept basic JavaScript operations on objects.(source:...
View ArticleIntroduction to “reflect-metadata” package and its ECMAScript proposal
Metaprogramming in JavaScriptIn this lesson, we are going to take a look at the reflect-metadata package used by TypeScript to design decorators. This package is primarily used as a polyfill for the...
View ArticleAnatomy of TypeScript “Decorators” and their usage patterns
TypeScript: New FeaturesIn this lesson, we are going to learn about the Decorator pattern in TypeScript and how Decorators are used to change the behavior of the classes. We are also going to see how...
View ArticleHow to quickly transpile JavaScript using Babel alone? A brief introduction...
JavaScript: ToolingIn this lesson, we are going to learn how to simply transpile or compile JavaScript code written in ES6+ (ES2015+) to ES5 using just Babel and Babel CLI.(source: unsplash.com)You...
View ArticleWhat are “Internal Slots” and “Internal Methods” in JavaScript?
JavaScript: BasicsECMAScript 2015 specification came up with the idea of internal slots and internal methods that specify the internals properties and methods of the object not exposed to...
View Article