Programming

What is Go? — step-by-step Programming tutorial on Progressive Robot

What is Go?

Go is a compiled, statically typed programming language similar in syntax to C. Also referred to as “Golang”, Go is well-known for its performance in networking and multiprocessing. Originally designed at Google, Go version 1.0 released in March 2012 as a public open source project, which now has…

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

CallableStatement in Java Example

CallableStatement in java is used to call stored procedure from java program. Stored Procedures are group of statements that we compile in the database for some task. Stored procedures are beneficial when we are dealing with multiple tables with complex scenario and rather than sending multiple queries to the database, we can send required data […]

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

Deadlock in Java Example

Deadlock in java is a programming situation where two or more threads are blocked forever. Java deadlock situation arises with at least two threads and two or more resources. Here I have written a simple program that will cause java deadlock scenario and then we will see how to analyze it. Deadlock in Java ![deadlock […]

Read more
Using the getch() function in C/C++ — step-by-step Programming tutorial on Progressive Robot

Using the getch() function in C/C++

In this article, we'll take a look at using the getch() function in C/C++. The getch() function is very useful if you want to read a character input from the keyboard. While this is not a part of the C standard, this is still a POSIX C function. So, we can still use this function […]

Read more
How to Add Extra Information to Errors in Go — step-by-step Programming tutorial on Progressive Robot

How to Add Extra Information to Errors in Go

In Go 1.13, new features were added to make it easier to add extra information to errors: fmt.Errorf, errors.Is, and errors.As. In this tutorial, you’ll create a program that uses these functions to include additional information in errors returned from your functions, and then create your own custom error struct that supports the wrapping and unwrapping functionality.

Read more
Como construir loops for no Go — step-by-step Programming tutorial on Progressive Robot

Como construir loops for no Go

Em programação de computadores, um loop é uma estrutura de código que faz um loop para executar repetidamente uma parte de um código, frequentemente até que alguma condição seja alcançada. O uso de loops em programação de computadores permite que você automatize e repita…

Read more
How To Create Nested Resources for a Ruby on Rails Application — step-by-step Programming tutorial on Progressive Robot

How To Create Nested Resources for a Ruby on Rails Application

Rails is a web application framework written in Ruby that offers developers an opinionated approach to application development. As you add complexity to your Rails applications, you will likely work with multiple models, which represent your application’s business logic and interface with your database. In this tutorial, you will build on an existing Rails application that offers users facts about sharks. This application already has a model for handling shark data, but you will add a nested res

Read more
CHAT