Working with Java 17
Jwow is a Java library that allows you to write code in amore friendly way. It's a library for new programmers, that are learning Java, but it can be used by anyone.
The main objective of Javawow is to help new programmers to learn Java more easily. Create a libraries of a multiporpose methods, that can be used in any Java project. We're starting working now, so we havea lot of work to do. New ideas are welcome. Feel free to contribute.
The project begins with a simple idea: to create a library that helps new programmers to learn Java more easily.
The package pops contains the first classes of the library. We try nomeclatures that can be easily understood by new programmers. Our ideia is to work only one package, but we can change this in the future.
How to import the class:
import static br.wow.lib.pops.Print.*;
/**
* Examples of use
* Using Java 17
*/
class Main {
public static void main(String[] args) {
print("Hello World!"); //System.out.println("Hello World!");
p("Hello World!"); //System.out.println("Hello World!");
pmv("Hello World!", "Yeah!"); //System.out.println("Hello World!" + " " + "Yeah!");
pl("Hello World!"); //System.out.print("Hello World!");
printf("Hello %s!", "World"); //System.out.printf("Hello %s!", "World");
breakLine(); //System.out.println();
}
}
The Print class provides a series of methods to print messages on the console. The main print method, which simplifies the so controversial System.out.println, allows new programmers to print messages with a much simpler call.
Thanks for read this.
- Daniel Almeida - @DanielAlmeidaBrazil - Software Engineering Student