Programming

Создание вашей первой программы на Go — step-by-step Programming tutorial on Progressive Robot

Создание вашей первой программы на Go

“Hello, World!” — это классическая программа, традиционно используемая в компьютерном программировании. Это простая и полноценная первая программа для начинающих, и с ее помощью легко определить, что среда настроена правильно. В этом обучающем руководстве мы подробно рассмотрим…

Read more
How To Use Struct Tags in Go — step-by-step Programming tutorial on Progressive Robot

How To Use Struct Tags in Go

Struct tags are small pieces of metadata attached to fields of a struct that provide instructions to other Go code that works with the struct. When you read information from systems such as databases, or APIs, you can use struct tags to control how this information is assigned to the fields of a struct.

Read more
Java Set – Set in Java — step-by-step Programming tutorial on Progressive Robot

Java Set – Set in Java

URL: https://www.progressiverobot.com/java-set/ — Java Set is a collection of elements (Or objects) that contains no duplicate elements. Java Set is an interface that extends Collection interface. Unlike List, Java Set is NOT an ordered collection, it's elements does NOT have a particular order. Java Set does NOT provide a control over the position where you […]

Read more
Handling Panics in Go — step-by-step Programming tutorial on Progressive Robot

Handling Panics in Go

Panics are unforeseeable errors that will spontaneously terminate and exit a running Go program. Common mistakes are often responsible for creating panics. In this tutorial, we’ll examine a few ways that common operations can produce panics in Go, and we’ll also see ways to avoid those panics. We’ll also use defer statements along with the recover function to capture panics before they have a chance to unexpectedly terminate our running Go programs.

Read more
Обработка ошибок в Go — step-by-step Programming tutorial on Progressive Robot

Обработка ошибок в Go

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

Read more
String to char array java - convert string to char — step-by-step Programming tutorial on Progressive Robot

String to char array java – convert string to char

URL: https://www.progressiverobot.com/string-char-array-java/ Sometimes we have to convert String to the character array in java programs or convert a string to char from specific index. String to char Java ![string to char java, string to char array](images/string-char-array-java-section-1.png) String class has three methods related to char. Let's look at them before we look at a java program […]

Read more
Trie Data Structure in C/C++ — step-by-step Programming tutorial on Progressive Robot

Trie Data Structure in C/C++

URL: https://www.progressiverobot.com/trie-data-structure-in-c-plus-plus/ A Trie data structure acts as a container for a dynamic array. In this article, we shall look at how we can implement a Trie in C/C++. This is based on the tree data structure but does not necessarily store keys. Here, each node only has a value, which is defined based on […]

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

Java Thread Example

URL: https://www.progressiverobot.com/java-thread-example/ Welcome to the Java Thread Example. Process and Thread are two basic units of execution. Concurrency programming is more concerned with java threads. Process A process is a self contained execution environment and it can be seen as a program or application. However a program itself contains multiple processes inside it. Java runtime […]

Read more
Como escrever pacotes em Go — step-by-step Programming tutorial on Progressive Robot

Como escrever pacotes em Go

Um pacote é composto por arquivos em Go que ficam no mesmo diretório e têm a mesma instrução de pacotes no início. Você pode incluir funcionalidades adicionais dos pacotes para tornar seus programas mais sofisticados. Alguns pacotes estão disponíveis através da Biblioteca Padrão de Go e, por…

Read more
CHAT