4 ms·
I spent the last year "writing" web backends in Java using Spring Boot. Wasted days trying to figure out the latest magic spell to do the most trivial things.
by codr7 5y ago
I spent the last year "writing" web backends in Java using Spring Boot.
Wasted days trying to figure out the latest magic spell to do the most trivial things.
This is the kind of code that will be automatically generated any day now.
- zorr 5y agoAny examples of trivial things you've struggled with? My Spring Boot experience is the opposite and it is usually my go-to framework when I need to get a backend up and running fast. It takes 30-50 lines of Kotlin to serve some JSON endpoints backed by a SQL database. And those lines are mostly defining the shape of the JSON response, database model, and hooking up the request route to the controller and repository. All the rest is generated, inferred or in libraries.
- destring 5y agoSame. I've tried other frameworks like Django and even Express, but I still go back to Kotlin + Spring when I need a quick backend for a personal project.
- codr7 5y agoEverything? It's all very opaque and specific to Spring; and it keeps changing every few months, which means that a lot of information online is not applicable. I strongly prefer writing my own scaffolding and pulling in specialized libraries for specific tasks.