Truth about being a full-stack developer

Truth about being a full-stack developer

As stated by CodeUp, A full-stack developer is simply someone who is familiar with all layers in computer software development. These developers aren’t experts at everything; they simply have a functional knowledge and ability to take a concept and turn it into a finished product. I would like to iterate over what it takes and means to be a full-stack developer:

Full-Stack Developer

read more

Importance of Teaching Children to Code

Importance of Teaching Children to Code

A few years ago (decades ahem!), the capability of communication through a language was considered a sign of good quality education. But that was back then, nowadays, the world around us is changing and evolving at a rate never seen before. Today we are surrounded by technology that makes our lives easier.

As the world progresses at this rate, one has to master to communicate with machines and technology in order to stay competitive. What is this communication media? Yes, you guessed it right, it’s Code.

The future most definitely is going to be more and more automated since our reliance on technology will only increase. The children today should not only learn to passively use this technology but also understand and control it!

read more

NPM VS Yarn - Cheatsheet

NPM VS Yarn - Cheatsheet

You’ve heard about JS package manager called Yarn. If you haven’t, please click here.

At Facebook we’re already using Yarn in production, and it’s been working really well for us. It powers the dependency and package management for many of our JavaScript projects. With each migration we’ve enabled engineers to build offline and helped speed up their workflow. - — Sebastian McKenzie, Yarn: A new package manager for JavaScript

If your switching to Yarn from NPM then here is a quick cheatsheet to get you started:

What you need to know
  • Installation is the default.

    npm install === yarn

  • Packages are saved to your package.json by default.

    npm install <package> --save === yarn add <package>

    read more

Node.js 8: util.promisify()

Node.js 8: util.promisify()

Node.js 8 has a new utility function: util.promisify(). It converts a callback-based function to a Promise-based one. Since we are on this topic I would like to highlight one of the most straight forward explanation for promises that I have come across by Jecelyn Yeen

Imagine you are a kid. Your mom promises you that she’ll get you a new phone next week. You don’t know if you will get that phone until next week. Your mom can either really buy you a brand new phone, or stand you up and withhold the phone if she is not happy :(. Jecelyn Yeen

So now, what does util.promisify do?

In a very abstract way, it does the following:

Takes a function following the common Node.js callback style, i.e. taking a (err, value) => ... callback as the last argument, and returns a version that returns promises.

read more

GET query string parameters – Cheat

GET query string parameters – Cheat

A utility function to get the value of any query string parameter

We all know that the query string parameters are available for us through window.location (JavaScript Window Location Object). But query string usually turns up as a string and has to be parsed to get the necessary attribute out. There is an easy way through a utility function given below, this can be included in any web deployment:

read more