Development

How To Use *args and **kwargs in Python 3 — step-by-step Python tutorial on Progressive Robot

How To Use *args and **kwargs in Python 3

In this tutorial, we will cover the syntax of working with *args and **kwargs as parameters within functions to pass a variable number of arguments to a given function. Both can be used improve readability and convenience, and are best for situations where the number of inputs within the argument list will remain relatively small.

Read more
How To Use Loops in Java — step-by-step Programming tutorial on Progressive Robot

How To Use Loops in Java

Writing repetitive tasks is common in programming. Loops are structures for controlling repetitive program flow. Depending on their syntax and logic, there are two main types of loops: `while` and `for` loops. In this tutorial, you will use both types to create repetitive tasks and learn about the benefits and drawbacks of each one.

Read more
Usando buffers no Node.js — step-by-step Javascript tutorial on Progressive Robot

Usando buffers no Node.js

O autor selecionou a COVID-19 Relief Fund​​​​​ para receber uma doação como parte do programa Write for DOnations. Um buffer é um espaço de memória (tipicamente RAM)…

Read more
How To Validate a Login Form With React and Formik — step-by-step Javascript tutorial on Progressive Robot

How To Validate a Login Form With React and Formik

In order to ensure that the form element of your web application is returning valid data, it is helpful to build automated validation into your code. This is true in React as well; creating form validation early on can often save you from encountering errors down the road. In this tutorial, you will create a React project, add the Formik package, customize the Formik component with an onSubmit callback and a validate function for error messages, then display those error messages to the user.

Read more
How To Test a React App with Jest and React Testing Library — step-by-step Javascript tutorial on Progressive Robot

How To Test a React App with Jest and React Testing Library

Obtaining solid test coverage is imperative for building confidence in your web application. In this tutorial, you will test asynchronous code and interactions in a sample project containing various UI elements. You will use Jest to write and run unit tests, and you will implement React Testing Library as a helper DOM library to handle interacting with components.

Read more
Cómo configurar y invocar funciones en Go — step-by-step Programming tutorial on Progressive Robot

Cómo configurar y invocar funciones en Go

Una función es una sección de código que, una vez definida, se puede volver a utilizar. Las funciones se utilizan para facilitar más la comprensión de su código mediante su división en tareas pequeñas y comprensibles que se pueden utilizar más de una vez en su…

Read more
CHAT