Programming

Использование интерфейсов в Go — step-by-step Programming tutorial on Progressive Robot

Использование интерфейсов в Go

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

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

How To Use Templates in Go

Do you need to present some data in well-formatted output, textual reports, or HTML pages? You can do that with Go templates. Any Go program can use the `text/template` or `html/template` package—both included in the Go standard library—to present data neatly. This tutorial will show you how to use both template packages.

Read more
How To Use Web APIs in PHP 8.0 — step-by-step Programming tutorial on Progressive Robot

How To Use Web APIs in PHP 8.0

In this tutorial, you’ll leverage the power of APIs in a basic web application that will retrieve, transform, and display data from the OpenWeather Map API. You’ll build a client for a RESTful API using HTTP POST and GET calls to interact with the server. You’ll start with a basic app before enabling user input and using a Software Development Kit (SDK) to help future-proof the code. The final web application will give users real-time weather information about a city of their choice.

Read more
How To Write Conditional Statements in PHP — step-by-step Programming tutorial on Progressive Robot

How To Write Conditional Statements in PHP

Decisions written in code are formed using conditionals. “If x, then y.” This tutorial will start with an overview of comparison operators that will be used to build conditional statements. Next, it will take you through writing conditional statements in PHP, including the if, else, and elseif keywords. This also includes combining conditions using the logical operators of “and” or “or”. Finally it will also cover some special conditional operators to more precisely describe a situation.

Read more
How To Write Your First Ruby Program — step-by-step Programming tutorial on Progressive Robot

How To Write Your First Ruby Program

The “Hello, World!” program is a classic and time-honored tradition in computer programming. It’s a simple and complete first program for beginners, and it’s a good way to make sure your environment is properly configured. This tutorial will walk you through creating this program in Ruby.

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

Java 15 Features

URL: https://www.progressiverobot.com/java-15-features/ Keeping up with the six-month cycle tradition, after the release of [Java 14](/community/tutorials/java-14-features#5-text-blocks-preview) on March 17, 2020, we now have Java 15, the next non-LTS version rolling out on September 15, 2020. Java 15 Features Here's a quick look at features that are a part of Java 15: Sealed Classes (Preview) – JEP […]

Read more
Java Catch Multiple Exceptions, Rethrow Exception — step-by-step Programming tutorial on Progressive Robot

Java Catch Multiple Exceptions, Rethrow Exception

URL: https://www.progressiverobot.com/java-catch-multiple-exceptions-rethrow-exception/ In Java 7, catch block has been improved to handle multiple exceptions in a single catch block. If you are catching multiple exceptions and they have similar code, then using this feature will reduce code duplication. Let's understand java catch multiple exceptions feature with an example. Java catch multiple exceptions ![java catch multiple […]

Read more
Java do while loop — step-by-step Programming tutorial on Progressive Robot

Java do while loop

URL: https://www.progressiverobot.com/java-do-while-loop/ Java do-while loop is used to execute a block of statements continuously until the given condition is true. The do-while loop in Java is similar to [while loop](/community/tutorials/java-while-loop) except that the condition is checked after the statements are executed, so do while loop guarantees the loop execution at least once. Java do while […]

Read more
CHAT