📚 Vanilla Libraries
Battle-tested code snippets you can actually understand
Why Vanilla Libraries?
Why depend on massive frameworks when you can copy and paste production-ready code that:
- ✅ You fully control - Every line is yours to modify
- ✅ Zero dependencies - No Maven coordinates to memorize
- ✅ Actually readable - No framework magic or reflection gymnastics
- ✅ Modern Java - Uses the latest Java features you’re already paying for
- ✅ Stack trace friendly - Your IDE understands what’s happening
Each vanilla library is a single, self-contained code snippet that you drop into your project. No JARs, no versions, no transitive dependency hell.
Available Libraries
Vanilla Result
Treat errors as values instead of playing try/catch whack-a-mole. Railway-oriented programming without the framework baggage.
Replaces: Vavr Try/Either, Arrow-kt Result, throwing exceptions into the void
Vanilla Optional
Java's Optional, but with the methods that should have been there from the start.
Status: Coming soon (maybe)
Vanilla Validation
Accumulate validation errors without drowning in nested if statements.
Status: Coming soon (possibly)
Vanilla Async
CompletableFuture utilities that don't require a PhD to understand.
Status: Coming soon (perhaps)
Philosophy
Each Vanilla Library follows the Vanilla DI principles:
- Copy/paste friendly - Complete, self-contained implementations
- Modern Java first - Java 21+ features (records, sealed types, pattern matching)
- Zero magic - No reflection, no proxies, no surprises
- Production ready - Actually tested code, not just examples
- Framework optional - Works everywhere Java runs
Getting Started
- Browse the library you need
- Copy the code snippet
- Paste into your project
Read 400 pages of documentationStart using it immediately
That’s it! No build configuration, no dependency management, no framework lock-in.
Made with ❤️ for Java developers who prefer understanding their code over configuring frameworks