Front End DevelopmentMEANNode.js

Why and how finally{…} block is NOT meaningless

A definition first (from the internet): try-catch-finally is used to handle runtime errors and prevent them from halting the execution of a program. The finally block triggers regardless of: what is implemented inside the try-catch block any errors encountered inside try-catch block any return statement written inside the try-catch block Example 1 Consider this example where there’s no error: (()=>{ try { console.log(`Try block triggered`) […]

MEANNode.js

Top level await() without async() function in NodeJs

Here’s how async-await function typically works: function myDummyBackendCall() { return new Promise((resolve) => { setTimeout(() => { resolve({ name: “Shivang”, id: “asmdhajkdhajdsh8qweuqoweuiqepoi-0q-0eueiuaisjdaKcjaisku”, }); }); }); } // Used an async wrapper function to make an await call (async () => { let data = await myDummyBackendCall(); console.log(data); })(); If you are a JS developer, you […]

Digital TransformationSoftware developmentTechnology

Go Pointers! Let’s talk about it…

A pointer, as name suggests, is a variable that points to a location in the memory of your system where a value is stored rather than a value itself. Basically, it is an address to the value stored in memory. The definition is simple but this concept can be a little tricky to wrap your […]

AngularJSFront End DevelopmentSoftware development

Moving to Angular 5? Find out Yay or Nay!

AngularJS is quickly evolving and we have witnessed two major updates in the past 14 months. Now, this popular JavaScript framework has set a new milestone with its major release of Angular 5.0 on November 1, 2017. The progressive web apps and material design powered by Google will be however available in the next few days. […]

Technology

Go! Go! Go! :Intro to emerging “GoLang”

Go is an open source programming language initially developed by GOOGLE .When we say about key features,they are a good mixture of multiple languages like statically-typed language with syntax loosely derived from C, type safety, garbage collection, dynamic typing and contains large standard library. Through go,  Google desires to keep language specification as simple as […]