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
MySQL JSON Type
MySQL has started supporting JSON column data type since MySQL 5.7.8. This post explores this new type and its basic usages.
JUnit 4 – Run Test Method More than Once
This post demonstrates how to perform repeated tests in JUnit 4 for this post. It involves creating a class that implements the TestRule interface, another class that implements Statement interface and a new annotation.