Java, Software Development

Java – Create class constructor with fields faster in Eclipse

This post shows how to create a Java class constructor with fields faster in Eclipse. Before the advent of smart IDEs, Java developers write out almost all codes as it

Read More...

Software Development

Java – 5 things You Cannot do with Generic Types

Generics is one of the best things that happened to Java. Anyone who has worked with Java during its pre-JDK5 era can attest to that. For new developments, it has drastically reduced the amount of written codes and provided compile-time type checking using Generic Types. However, there are some things you cannot do with Generics Types.

Read More...

Software Development

Kotlin – Overloading Constructors

This post demonstrates how to overload class constructors in Kotlin.

Read More...

Software Development

How to create classes in JavaScript

Background [wp_ad_camp_1] I must admit I used to dislike JavaScript and UI development. First, I related JavaScript to Web UI design at which I am very not good at. I

Read More...

Software Development

Type Checking in JavaScript

Okay, JavaScript is a loosely-typed language, which means you do not declare the data type of a variable explicitly. In a basic variable assignment expression, e.g., var i = 4;, the value that assigns to the variable determines the data type of the variable. As you assign different types of data to the same variable, its data type changes as well. Given the nature of JavaScript, finding out what data type a variable represents before using it is very important.

Read More...