Quantcast
Channel: Functional Programming – Zsolt Nagy
Browsing latest articles
Browse All 21 View Live

Container Components and Stateless Functional Components in React

In the article Building a Chat Component in React and ES6, we learned a way to create React components: import React from 'react'; class SimpleComponent extends React.Component { render() { return (...

View Article


Ten JavaScript Theory Questions – The ES6 Quiz

There are countless questions your interviewers may ask when it comes to how JavaScript works. The idea behind asking these questions is to assess whether you have recent experience in writing...

View Article


JavaScript Tech Interview Exercise 5: Connect-4 Solver in ES6

This interview question is also available as a video on my Youtube channel. You might not know about me that I have conducted tech interviews with over 500 software developers from more than twenty...

View Article

Binary Trees, Recursion, Tail Call Optimization in JavaScript

You might not know about me that I have conducted tech interviews with over 500 software developers from more than twenty countries with the objective of identifying and hiring the best talent. I have...

View Article

Image may be NSFW.
Clik here to view.

JavaScript Tech Interview Exercise 9: Event Delegation in a Pomodoro App

You might not know about me that I have conducted tech interviews with over 500 software developers from more than twenty countries with the objective of identifying and hiring the best talent. I have...

View Article


How Replacing JavaScript Templating Engines with ES6 Template Literals May...

The article ES6 Strings and Template Literals introduced you to the syntax of ES6 strings and template literals. However, if you wanted to use ES6 template literals for microtemplating, the article...

View Article

Translating SQL Queries using Map-Reduce-Filter in JavaScript

Exercise: Suppose the following tables are given in the form of arrays of objects: var inventory = [ { id: 1, owner: 1, name: 'Sword', weight: 10, value: 100 }, { id: 2, owner: 1, name: 'Shield',...

View Article

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?...

View Article


Higher Order Functions in JavaScript

In this article, you will learn about higher order functions. An important cornerstone of functional programming is higher order functions. If you want to write programs in mostly functional style, it...

View Article


What’s New in ES2019?

ES2019 or ES10 is the 2019 version of JavaScript. After the major 2015 update, JavaScript has been evolving every year. Developers get a small set of useful features, that helps us balance between...

View Article
Browsing latest articles
Browse All 21 View Live


Latest Images