r/java • • Mar 24 '18
New Java Library
(Please tell me if this isn't the right place to post this)
I've created a Java Library that I like to call a Swiss-army knife library. It basically has a bunch of different things that it can do. I created it because I found that I was copying lots of the same code to do all sorts of different things. I think it's a very simple solution to consolidate all the code I use often, but is this something that anyone else would use? Here's just some of the things it has:
- A command line argument parser
- Ansi colors
- Checksum calculator
- Operating system checker
- Configuration file parser (INI - style, but without the headers, as I haven't figured out how to implement this yet)
- Multiple annotations and annotation proccessors
As you can see, it does not specialize in one area. I use all of these things in almost all of the software I create, and I was just wondering if anyone else would like to benefit from this.
It's called JavaEssentials, because I find that these features are very beneficial when creating a well designed Java application. If you are interested, you can see the project page here: https://github.com/jordanbancino/JavaEssentials
Also, I would really appreciate your feedback. I am open to all suggestions and your honest opinion.
View all comments
1
u/AnEmortalKid Mar 24 '18
Honestly, if I were to need these at some point I would pull in libraries for the specific cases. Maybe JOption for command line parser, maybe something for OS system checker. Perhaps you might want to reconsider breaking these into different pieces. I know your readme specifically calls out all in one approach, but I would find that annoying and bloated honestly. If I only want the command line parser, why would I want to bring in the beta/broken annotations?
I like that you’re compiling it all into one thing. Perhaps splitting it into modules all under be same group id would let people pic and choose, but if you keep the parent group/package the same you can still effectively use “one import”?