Articles

29 articles covering Node.js, JavaScript, backend development, and more.

Handling errors

JavaScript errors can occur for various reasons, such as incorrect syntax, runtime issues, or unexpected data. When an error occurs, JavaScript throws an exception, which can interrupt the normal flow Read more

Beginner NodeJS
beginner

Improving our example (2)

In our previous post we have created an example with everything we learned so far. But our code has many things that we can improve, both logically and performance wise. Read more

Beginner NodeJS
beginner

Example for everything so far (1)

There are a lot of new stuff in previous posts and some of it might seem a bit abstract to you, maybe you don't know how to use it in Read more

Beginner NodeJS
beginner

Object-Oriented Programming(OOP)

Object-Oriented Programming (OOP) is a programming paradigm/style based on classes and objects. OOP allows you to create more organized, modular, and scalable applications. Even if we are using OOP syntax Read more

Beginner NodeJS
beginner

Prototype-Oriented Programming(POP)

Prototype-Oriented Programming (POP) is a style of object-oriented programming in which behaviour reuse (known as inheritance) is performed via a process of reusing existing objects that serve as prototypes. What Read more

Beginner NodeJS
beginner

Asynchronous JS: Callbacks, Promises and Async/Await

Asynchronous programming is a cornerstone of NodeJS, enabling efficient handling of tasks without blocking the main thread. This is important because we want code execution to be very fast. Imagine Read more

Beginner NodeJS
beginner

Understanding closures

Closures enable you to create functions that "remember" their surrounding context, allowing for dynamic and flexible behavior. A closure is formed when an inner function has access to the variables Read more

Beginner NodeJS
beginner

Understanding `this`

In simple terms, the `this` keyword refers to the object. You are always "binding" some object to where `this` is called. What object you are binding depends on the context. Read more

Beginner NodeJS
beginner

ES6

### ES6 in NodeJS ES6, short for ECMAScript 2015, brought a significant upgrade to the JavaScript language, enhancing its capabilities and introducing modern features. ### Let and Const Declarations ES6 Read more

Beginner NodeJS
beginner

Understanding scope

Scope is a fundamental concept in programming that determines the visibility and accessibility of variables in different parts of your code. ### Why To expand on the above, scope exists Read more

Beginner NodeJS
beginner

Showing 11-20 of 29 articles