Beware of these in JavaScript!

All programming languages has good and bad parts. It is up to us as a developer to be aware of these bad parts and be prepared to cope. JavaScript has its fair share of bad parts and few awful parts, but still pretty good language considering the fact that it was designed in 10 days. So below are…More


Higher order functions for Array in JavaScript

In JavaScript Higher Order Functions are functions which operates on other functions by either taking them as an argument or by returning it. Higher Order Functions basically provides an abstraction over action. Below are list of six higher order functions that I believe are most useful 1. Array.prototype.forEach Executes the provided callback for each items in the…More

Unable to delete node_modules? Use rimraf!!

If you have done node application development in windows machine often you might have faced issue where the node_modules directory which you created would not delete when you try to delete. Node’s approach to package management is often criticized because of its endless nested modules folders on windows. To solve this issue you can use…More

Learning TypeScript Part 5- Functions

Functions Just as in JavaScript functions can be created both as a named function or as an anonymous function. Similar to JavaScript TypeScript also captures variables. Contextual Typing As you can see in the above example TypeScript compiler can figure out the type if you have types on one side of the equation but not the other.…More

Learning TypeScript Part 4 – Classes

Classes Traditional JavaScript uses prototype based inheritance as the basic means of building up reusable components. but this is bit different from the object oriented approach to which we are most accustomed where classes inherit functionality and objects built from these classes. Starting ES6 JavaScript programmers will be able to build their applications using this object…More

Learning TypeScript Part 3 – Interfaces

Interfaces Interfaces are the most flexible way of describing types in TypeScript language. The only job of an interface in TypeScript is to describe a type. While classes and functions will deal with implementation. To define an interface use the keyword interface. Roles of Interfaces Describing an Object Describing an Indexable Object Ensuring Class instance Shape…More

Learning TypeScript Part 2 -Variables

let and const are two new keywords introduced in the ECMAScript 6 (ES6, a.k.a. ES 2015) . Since TypeScript is the superscript of JavaScript the uses of let and const are already accessible in the language. let is similar to var but it helps to avoid some of the common problems with var const is similar to…More

Learning TypeScript Part 1 – Getting Started

Introduction Typescript is a open sourced programming language developed by Microsoft. It is a Superset of Javascript and it compiles down to plain Javascript. Typescript offers support for the latest and evolving Javascript features including ECMAScript2015 and future proposals like async. Why Typescript? Typescript provides a way to add optional static typing to our Javascript code. It…More

Improve Angular JS performance

Introduction Angular is a powerful framework which gained lot of traction in the client side development in recent years and it is fun to work with. There are lot of things I like about Angular JS. Below are my most favorites Declarative Syntax SPA out of the box Testability Dependency Injection Recently I learned one trick which could potentially improve the…More

Getting Started with DOTNET Core

Introduction If you are a developer in Windows ecosystem you probably know and love .NET for its attractive features. We know .Net makes it easier to efficiently build high-quality apps. But one problem with .Net was it was not a goto technology for a open source developers since .Net was never aimed to support multiple platforms. Even though…More