Programming

How To Format Strings in Go — step-by-step Programming tutorial on Progressive Robot

How To Format Strings in Go

In this tutorial, we’ll go over some of the ways we can work with Go strings to make sure that all output text is formatted correctly. Topics we will cover include: quotes, apostrophes, multiple lines, escape characters, and raw strings.

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

How To Use Operators in Java

An operator is one or more symbols in combination — from the well-known arithmetic operators such as minus and plus to the more advanced `instanceof`. When you apply operators on values or variables, you get a result from the operation. In this tutorial, you will use unary, binary, and ternary operators in a range of scenarios.

Read more
Como usar variáveis e constantes em Go — step-by-step Programming tutorial on Progressive Robot

Como usar variáveis e constantes em Go

As variáveis são um importante conceito de programação a dominar. Tratam-se de símbolos que assumem um valor que você está usando em um programa. Este tutorial abordará alguns princípios básicos sobre as variáveis e melhores práticas para usá-las dentro dos programas em Go que você…

Read more
Написание комментариев в Go — step-by-step Programming tutorial on Progressive Robot

Написание комментариев в Go

Комментарии — это строки компьютерных программ, которые игнорируются компиляторами и интерпретаторами. Добавление комментариев в программы делает код более удобным для чтения людьми, поскольку комментарии обычно содержат информацию или разъяснение того, что делает каждая часть…

Read more
How To Write Unit Tests in Go — step-by-step Programming tutorial on Progressive Robot

How To Write Unit Tests in Go

In this tutorial, you will create a small program and then run a series of tests on your code using Go’s testing package and the go test command. Once you complete the tutorial, you will have a working unit-testing suite that includes a table-based unit test, a coverage test, a benchmark, and a documented example.

Read more
Iterator Design Pattern in Java — step-by-step Programming tutorial on Progressive Robot

Iterator Design Pattern in Java

URL: https://www.progressiverobot.com/iterator-design-pattern-java/ Iterator design pattern in one of the behavioral pattern. Iterator pattern is used to provide a standard way to traverse through a group of Objects. Iterator pattern is widely used in [Java Collection Framework](/community/tutorials/collections-in-java-tutorial "Java Collections Framework Tutorial"). Iterator interface provides methods for traversing through a collection. Iterator Design Pattern ![iterator design pattern](images/iterator-design-pattern-java-section-1.png) […]

Read more
Java Annotations — step-by-step Programming tutorial on Progressive Robot

Java Annotations

URL: https://www.progressiverobot.com/java-annotations/ Java Annotations provides information about the code. Java annotations have no direct effect on the code they annotate. In java annotations tutorial, we will look into the following; Built-in Java annotations How to write Custom Annotation Annotations usage and how to parse annotations using [Reflection API](/community/tutorials/java-reflection-example-tutorial). Java Annotations ![java annotations, annotations in java, […]

Read more
CHAT