Programming

Strategy Design Pattern in Java - Example Tutorial — step-by-step Programming tutorial on Progressive Robot

Strategy Design Pattern in Java – Example Tutorial

URL: https://www.progressiverobot.com/strategy-design-pattern-in-java-example-tutorial/ Strategy design pattern is one of the behavioral design pattern. Strategy pattern is used when we have multiple algorithm for a specific task and client decides the actual implementation to be used at runtime. Strategy Pattern ![strategy pattern, strategy design pattern](images/strategy-design-pattern-in-java-example-tutorial-section-1.png) Strategy pattern is also known as Policy Pattern. We define multiple algorithms […]

Read more
Использование пакета Flag в Go — step-by-step Programming tutorial on Progressive Robot

Использование пакета Flag в Go

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

Read more
Collections in Java - Everything You MUST Know — step-by-step Programming tutorial on Progressive Robot

Collections in Java – Everything You MUST Know

Java Collections Framework is one of the core parts of the Java programming language. Collections are used in almost every programming language. Most of the programming languages support various type of collections such as [List](/community/tutorials/java-list), [Set](/community/tutorials/java-set), [Queue](/community/tutorials/java-queue), [Stack](/community/tutorials/java-stack), etc. What is Java Collections Framework? Collections are like containers that group multiple items in a single […]

Read more
Выполнение математических операций в Go с помощью операторов — step-by-step Programming tutorial on Progressive Robot

Выполнение математических операций в Go с помощью операторов

Числа используются повсюду в программировании. Они используются для представления таких вещей, как размеры экрана, географическое местоположение, денежные средства и баллы, количество времени, передаваемого в видео, расположение игровых аватаров, отображение цветов через…

Read more
Eclipse OutOfMemory Error Fix by increasing Heap Memory/Permgen Space — step-by-step Programming tutorial on Progressive Robot

Eclipse OutOfMemory Error Fix by increasing Heap Memory/Permgen Space

Eclipse Out of Memory Error happens when you are working on large projects. Sometimes it's because of Permgen space (below Java 8) and sometimes your eclipse memory runs out of heap memory. Eclipse OutOfMemoryError Fix We can increase eclipse memory by providing more Permgen space and heap memory for Eclipse to use. These settings are […]

Read more
Como escrever seu primeiro programa em Go — step-by-step Programming tutorial on Progressive Robot

Como escrever seu primeiro programa em Go

O programa “Hello, World!” é um clássico tradicional, consagrado pelo tempo em programação de computadores. É um programa inicial, simples e completo para iniciantes e é uma boa maneira de garantir que seu ambiente esteja devidamente configurado. Este tutorial explicará sobre…

Read more
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
CHAT