Personal Blog
Introduction .NET core is a Cross Platform Microsoft Open Source framework which supports variety of platforms including Ubuntu, Debian, Fedora, CentOS, RHEL, MAC and of course Windows. You can use either Visual Studio Community or Visual Code. Both are completely free to use. Install .Net Core SDK Download .Net Core SDK based on the platform that you are…
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…
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…
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…
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.…
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…
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…
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…
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…
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…