You-Dont-Know-JS/es6 & beyond at master · getify/You-Dont-Know-JS

You-Dont-Know-JS – A book series on JavaScript. @YDKJS on twitter.

Source: You-Dont-Know-JS/es6 & beyond at master · getify/You-Dont-Know-JS

A book on ES6. Completely free, hosted on GitHub in a Markdown format which means you just click links and read long and smart chapters!

Is ReactJS faster than AngularJS ? | blog.500tech.com

Short answer ? Nope.Long answer ? Inside.

Source: Is ReactJS faster than AngularJS ?

The author said it well:

ReactJS is a great framework which we at 500Tech use and love. There are many benefits to choosing ReactJS for your next project. “Speed” should not be one of them.

It is shown that one must know very well the framework and environment he uses to be able to write code that executes fast. This usually comes with months/years of getting the right experience/reading resources in your day job and while working with other devs as a whole.

Be sure to check the comments as they point the good things in both frameworks.

I personally will stick with Angular, getting ready for version 2 and will continue reading from different sources about it to get to know what makes it good and what makes it fast.

Web Design Degree Center – Choosing Your Javascript Framework | WebDesignDegreeCenter.org

Pick your JavaScript framework: Angular.js, Ember.js or Backbone.js.

They all have pros and cons and they all will do the job. They are constantly developed and even introduce breaking changes in new versions which means developers find the flows and anti-patterns in their frameworks and do it right in the next major version for the good of the language and the developers using the frameworks:
Continue reading

The Final Steps to Mastering JavaScript’s “this” Keyword | sitepoint.com

Completing his look at JavaScript’s ‘this’ keyword, Ivaylo Gerchev examines how to use ‘this’ in callbacks and closures, as well as lexical binding in ES6.

Source: The Final Steps to Mastering JavaScript’s “this” Keyword

This article just got me unprepared as I was thinking I already covered all possible situations where “this” is changed by the context. However today I cemented my knowledge!

An Introduction to Functional JavaScript | sitepoint.com

M. David Green demonstrates how you can start thinking functionally in JavaScript, by refactoring some all-too-common imperative code to a functional style.

Source: An Introduction to Functional JavaScript

The article starts with an old classical way of doing things with JavaScript and the DOM. Things like global variables with generic names!

It is then translated to a more modern OOP that uses the IIFE, the strict directive, constructor function and its prototype.

And then we enter the world of functional JavaScript! I can’t remember well right now but the final solution reminds me of a design pattern.

One additional interesting thing in the examples is how the author uses string concatenation through arrays ([].join()) instead of “str1” + “str2” as this way is proved to be faster probably because the + operator is overloaded to work with multiple variable types or something else – just remember that string concatenation in JavaScript is slow.

There’s one other solution to the same problem in the comments which may be called one-liner and also the type of Clever Programming which happens when the code is short, fast and clever but a bit hard for beginners to read and understand fast. However using regex is a must for experienced developers which makes this solution also good.

Keep reading on the link above.

How can you tell if a programmer knows Docker in 5 questions? | The Snap.hr Blog

Source: How can you tell if a programmer knows Docker in 5 questions? | The Snap.hr Blog

I struggled only on the last question about the difference between AUFS and DeviceMapper but these kind of questions always help me to find what I have to know to pass them. And I love to learn new things!