Programming

How To Use IRB to Explore Ruby — step-by-step Programming tutorial on Progressive Robot

How To Use IRB to Explore Ruby

IRB, short for Interactive Ruby, is a REPL (read-eval-print loop) which serves as a quick way to explore the Ruby programming language and try out code without creating a file. In this tutorial, you’ll use IRB to run some code, inspect its output, bring in external libraries, and customize your IRB session.

Read more
Использование выражений Break и Continue при работе с циклами в Go — step-by-step Programming tutorial on Progressive Robot

Использование выражений Break и Continue при работе с циклами в Go

Использование циклов for в Go позволяет эффективно автоматизировать и повторять выполнение задач. Понимание принципов контроля и работы циклов позволяет использовать в программе персонализированную логику. Вы можете контролировать циклы с помощью выражений break и…

Read more
How To Order Query Results in Laravel Eloquent — step-by-step Programming tutorial on Progressive Robot

How To Order Query Results in Laravel Eloquent

In a previous part of this series, you learned how to obtain database records using the all() method from within an Eloquent model, sorting the resulting collection with the sortDesc() method. In this guide, you’ll learn how to use the orderBy() method to sort results in the database query itself, which offers more flexibility and performance to order query results at the database level.

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

Understanding Pointers in Go

When writing software in Go you’ll be writing functions and methods. You pass data to these functions as arguments. Sometimes, the function needs a local copy of the data, and you want the original to remain unchanged. In this article, you will learn how to create and use pointers to share access to the memory space for a variable.

Read more
CHAT