zsoltnagy.eu zsoltnagy.eu

Big O Notation for Beginner Tech Interview Candidates

Even though you have seen many tech interview exercises already, we have not covered algorithmic complexity yet. Therefore, I will just give you a straight to the point explanation of the big O notation. Big O is a performance metric measuring the worst case complexity of an algorithm. Suppose N is the size of the input. Let's see some examples for complexities considered in this article. O(1): constant complexity O(N): linear...

zsoltnagy.eu zsoltnagy.eu

What’s New in ES2018?

This article will give you an overview on the new features of ES2018. First, we will discuss the new features of ES2018. Then you will learn what you need to do to start using them today. You may want to try out the code examples in your browser. Just open the developer tools of Google Chrome. If you are using version 66 or higher, you are golden when it comes to ES2018 support. The proposals are not yet fully implemented. You can find...

zsoltnagy.eu zsoltnagy.eu

ES2017 Object and String Extensions

This article is a continuation of last week's post on ES2017 Async-Await, detailing the updates of ES2017. Check out the ES2016 plus compatibility table for more information on the current browser support. Most likely, you will need a transpiler. Use the ES2017 Babel Preset for code transpilation if you want to support older browsers. New Object Extensions In this section, we will introduce three Object...

zsoltnagy.eu zsoltnagy.eu

A Practical Introduction to ES2017 Async-Await

The ability to write asynchronous functions is a major update in ES2017. In order to understand this chapter, I suggest that you review the chapter on promises. What are asynchronous functions? Asynchronous functions are functions that return a promise. We denote them by using the async keyword. const loadData = async function( value ) { if ( value > 0 ) { return { data: value }; } else { throw new Error( 'Value...

zsoltnagy.eu zsoltnagy.eu

Using JavaScript in 2018 – Experience and Opportunities

If you have read most of the blog posts of zsoltnagy.eu, you can conclude that most of the articles require at least some basic knowledge about JavaScript. The main exception is the JavaScript Basics category. This article is in the basics category too, which means, it requires absolutely no JavaScript knowledge. In fact, even without knowing anything about JavaScript, by the end of this article, you may have formed your opinion on why...

zsoltnagy.eu zsoltnagy.eu

An Introduction to Microservices

As some of my subscribers might already know, I was busy authoring a JavaScript course on microservices together with Packt Publishing. This kind of cooperation is always interesting, because there are fixed target dates to follow, and I tend to live and breathe the topic day and night. Given there are no real coincidences in life, during the authoring process I also spent a few days in London in a three days long consultation...