Rust Generics is a language feature for code reuse in multiple contexts using different actual types for Structs, Functions, Methods, and Enums. Moreover, they allow for concise and clean codes by minimizing boilerplates while providing type-safety. When we use Generics,
Python Basic Syntax – An Introduction For New Learners
In terms of basic syntax, Python 3 has a lot of similarities with Perl, PHP, and Ruby. Many tutorials would include Java, but that is not even remotely true. This post is an introduction to Python’s basic syntax designed for
Run Ballerina On Command-Line Without Installing Java
This post shows how to run Ballerina On Command-Line without installing the Java Development Kit (JDK) in Windows 10 64-bit. Instead, we use a zip distribution of Java with only two environment variables. This distribution of Java is self-contained that
Work on Ballerina Projects Using CLI Tools
Ballerina is a new programming language that shows a lot of promise, especially for microservice and cloud-based development. It is a general-purpose programming language for distributed applications. Since it is relatively new, many IDEs are yet to fully support it
Create Java Project Using Maven in Command Line
This post shows how to create a Java project with Apache Maven in the command line. The content may be old, and a myriad of people may already know how this, but it is still worth learning the basics. Requirements
Spring Dependency Injection Examples Without Spring Boot
The Spring Framework has come a long way. Nowadays, it is way easier to start a Java project with the Spring Framework using Spring Boot. In the past, we used to download Spring individual jar files and configure the dependencies
Rust IDE Plugin For Visual Studio Code – Install And Use
Have you been looking for a Rust IDE? Unfortunately, there are no IDEs specifically written for Rust. There are, however, Rust IDE plugins (or extensions) for IntelliJ IDEA and Visual Studio Code IDE. This post shows how to install and
Java Null Pointer Exception Processing With Try-Catch
In Java, we can handle exceptional events using the try-catch. But not all exceptions are the same. Java Null Pointer Exception processing requires using try-catch in a way that is unchecked during compilation. Checked And Unchecked Java Exceptions We refer
Using Spring Retry API
Did a method just throw an Exception? Well, we could re-invoke it a few times more before giving up using Spring’s Retry API. Last time we touched on BackOff and related interfaces and classes which is used in this API.
Java Compiler Weird Error in Travis CI due to Implicit Exception type
We were trying to build this Maven project in Travis CI and got a weird compilation error. After modifying the codes to explicitly define the exception types.