There are plenty of good libraries that don't suck you into a hellscape of frameworks or enterprise java
What language that's been around for long enough to have a large ecosystem doesn't have a terrible history of poor api design?
But sure, if you pick a really new language, you do get the chance to be that history for future generations