## Guide to MapStruct in Java - Advanced Mapping Library

Introduction As microservices and distributed applications quickly take over the development world - data integrity and security are more important than ever. A secure communication channel and limited data transfer between these loosely coupled systems are paramount. Most of the time, the end-user or service doesn't need to access the...

## Using Mocks for Testing in JavaScript With Jest

### Introduction

Jest is a popular, open-source test framework for JavaScript. We can use Jest to create mocks in our test - objects that replace real objects in our code while it's being tested.

In our previous series on unit testing techniques using Sinon.js, we covered how we can use

## map(), filter(), and reduce() in Python with Examples

### Introduction

The map(), filter() and reduce() functions bring a bit of functional programming to Python. All three of these are convenience functions that can be replaced with List Comprehensions or loops, but provide a more elegant and short-hand approach to some problems.

Before continuing, we'll go over a few things

## Handling Events in Node.js with EventEmitter

### Introduction

In this tutorial, we are going to take a look at Node's native EventEmitter class. You'll learn about events, what you can do with an EvenEmitter, and how to leverage events in your application.

We'll also cover what other native modules extend from the EventEmitter class and some examples

## Formatting Strings in Java

### Introduction

There are multiple ways of formatting Strings in Java. Some of them are old-school and borrowed directly from old classics (such as printf from C) while others are more in the spirit of object-oriented programming, such as the MessageFormat class.

## Using SCP to Copy and Securely Transfer Files and Folders

### Introduction

SCP stands for Secure Copy Protocol. It is a tool that can be used to transfer files from a local host to a remote host, from a remote host to a local host, or between two remote hosts. In this article, we'll examine how to use SCP to copy

## Writing to a File with Python's print() Function

### Introduction

Python's print() function is typically used to display text either in the command-line or in the interactive interpreter, depending on how the Python program is executed. However, we can change its behavior to write text to a file instead of to the console.