Development

How To Work with Arrays in Ruby — step-by-step Programming tutorial on Progressive Robot

How To Work with Arrays in Ruby

An array is a data structure that represents a list of values, called elements. Arrays let you store multiple values in a single variable. This can condense and organize your code, making it more readable and maintainable. In this tutorial, you’ll create arrays, access the values they contain, add, modify, and remove elements in an array, and iterate through the elements in an array to solve more complex problems.

Read more
Entendendo mapas em Go — step-by-step Programming tutorial on Progressive Robot

Entendendo mapas em Go

A maioria das linguagens de programação modernas tem o conceito de um tipo dicionário ou um tipo hash. Esses tipos são comumente usados para armazenar dados em pares com uma chave que mapeia um valor. Em Go, o tipo de dados mapa é o tipo no qual a maioria dos programadores…

Read more
Understanding defer in Go — step-by-step Programming tutorial on Progressive Robot

Understanding defer in Go

Go has many of the common control flow keywords found in other programming languages such as if, switch, for, etc. One keyword that isn’t found in most other programming languages is defer, and though it’s less common you’ll quickly see how useful it can be in your programs. In this article we will learn how to properly use the defer statement for cleaning up resources as well as several common mistakes that are made when using defer.

Read more
Написание условных выражений в Go — step-by-step Programming tutorial on Progressive Robot

Написание условных выражений в Go

Условные выражения являются частью каждого языка программирования. Условные выражения позволяют создавать код, который будет или не будет выполняться в зависимости от условий в программе на момент запуска. Когда мы полностью исполняем каждое выражение программы, мы не просим,…

Read more
JavaScript の配列項目から反復するための .map() の使用方法 — step-by-step Javascript tutorial on Progressive Robot

JavaScript の配列項目から反復するための .map() の使用方法

JavaScript のデータセットから反復する最も一般的な方法の1つは、`.map()` メソッドです。 `.map()` は、親配列内の各項目に特定の関数の呼び出しから配列を作成します。 `.map()` は元の変更ではなく、新しい配列を作成する非変異メソッドです。このチュートリアルでは、JavaScript の `.map()` の 4 つの注目に値する使用を見てみましょう。配列要素の呼び出し、文字列を配列に変換、ライブラリのレンダリングリスト、配列オブジェクトの再フォーマットを行います。

Read more
How To Convert Strings to Integers in Python 3 — step-by-step Python tutorial on Progressive Robot

How To Convert Strings to Integers in Python 3

Strings can be converted to integers by using the int() method. If your string does not have decimal places, you’ll most likely want to convert it to an integer by using the int() method. In this quick tutorial, you’ll learn how to convert a string to an integer.

Read more
Understanding Arrays and Slices in Go — step-by-step Programming tutorial on Progressive Robot

Understanding Arrays and Slices in Go

This article will cover the array and slice data structures in the Go Programming language, which will provide you with the necessary information to make the appropriate choice when choosing between them. You’ll also review the most common ways to declare and work with both arrays and slices. The tutorial will first provide a description of arrays and how to manipulate them, followed by an explanation of slices and how they differ.

Read more
How To Use the Docker Plugin for Visual Studio Code — step-by-step Docker tutorial on Progressive Robot

How To Use the Docker Plugin for Visual Studio Code

In this article we’ll use the Docker Plugin for Visual Studio Code. Docker allows us to package our applications into images and run them as containers on any platform that has Docker installed. We’ll use this plugin with two developer stacks: Node.js and Go.

Read more
CHAT