r/JavaProgramming • • 2h ago

Java library

I'm planning to build a Java library. What's one feature or functionality you wish existed in Java that would make programming easier? I'd love to hear your ideas!

1 Upvotes

2 comments sorted by

2

u/__raikar 2h ago

As a Java beginner, I'd find a library that simplifies repetitive coding tasks really useful. Something that makes working with collections, file handling, and exception handling easier without hiding how things actually work. It would help beginners write cleaner code while understanding what's happening behind the scenes.

2

u/Dani_E2e 51m ago

Eigentlich machst du ja nichts anderes beim programmieren als Bibliotheken zu schreiben. Wenn du generisch gut wiederverwendbaren code schreibst ist das eine persönliche Bibliothek. Je nach Anwendung kann das unterschiedlich sein. Bei mir fing es an mit Funktionen zum loggen, String manipulieren für Dateinamen und andere Werkzeuge für ein eigenes Backup/ snapshot tool. Die Bibliotheken stehen extra separiert, dass man sie leicht wieder verwenden und finden kann.

Hier zum Beispiel: https://github.com/oldy-22/Danis-FileSync/tree/main/DFS/DFS/src