Tuesday, October 4, 2022

33 JavaScript Concepts Every Developer Should Know

Homeprogramming33 JavaScript Concepts Every Developer Should Know

21. Closures

Closures

A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives you access to an outer function’s scope from an inner function. In JavaScript, closures are created every time a function is created, at function creation time.
Source

Tutorials

22. High Order Functions

High Order Functions

JavaScript can accept higher-order functions. This ability to handle higher-order functions, among other characteristics, makes JavaScript one of the programming languages well-suited for functional programming.
Source

Tutorials

23. Recursion

Recursion

Consider this post as a series of learning exercises. These examples are designed to make you think — and, if I’m doing it right, maybe expand your understanding of functional programming a little bit.
Source

Tutorials

24. Collections and Generators

Promises

The Generator object is returned by a generator function and it conforms to both the iterable protocol and the iterator protocol.
Source

Tutorials

25. Promises

async/await

The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value.
Source

Tutorials

26. async/await

Data Structures

There’s a special syntax to work with promises in a more comfortable fashion, called “async/await”. It’s surprisingly easy to understand and use.
Source

Tutorials

27. Data Structures

Expensive Operation and Big O Notation

Javascript is evolving each day. With the rapid growth of frameworks and platforms like React, Angular, Vue, NodeJS, Electron, React Native, it has become quite common to use javascript for large-scale applications.
Source

Tutorials

28. Expensive Operation and Big O Notation

Algorithms

“What is Big O Notation?” that is a very common job interview question for developers. In short, it is the mathematical expression of how long an algorithm takes to run depending on how long is the input, usually talking about the worst case scenario.
Source

Tutorials

29. Algorithms

Inheritance, Polymorphism and Code Reuse

In mathematics and computer science, an algorithm is a finite sequence of well-defined instructions, typically used to solve a class of specific problems or to perform a computation.

Tutorials

30. Inheritance, Polymorphism and Code Reuse

Design Patterns

Class inheritance is a way for one class to extend another class, so we can create new functionality on top of the existing.
Source

Tutorials

31. Design Patterns

Partial Applications, Currying, Compose and Pipe

Every developer strives to write maintainable, readable, and reusable code. Code structuring becomes more important as applications become larger. Design patterns prove crucial to solving this challenge – providing an organization structure for common issues in a particular circumstance.
Source

Tutorials

32. Partial Applications, Currying, Compose and Pipe

Clean Code

Function composition is a mechanism of combining multiple simple functions to build a more complicated one.
Source

Tutorials

33. Clean Code

Clean code

Writing clean, understandable, and maintainable code is a skill that is crucial for every developer to master.
Source

Tutorials


If you found this list useful, don’t forget to bookmark it

CHECK MORE IN
RELATED ARTICLES

READ ABOUT