News for hackers. Stuff that matters.
Re:Spring 6.1 now compatible with virtual threads and JDK 21... by mongol on Wednesday August 16, 2023 @01:20PM (#37150339)
A stacktrace in a Spring app can be painful to see. Tons of Spring code inbetween layers of your own app. Sometimes it has made me wonder, what happened with just plain old method invocations?

Granted, it can probable be helpful in many ways, but it comes at a price. But I think improvements in developer tooling will make annotation-driven programming unmodern. I see a renaissance coming for plain old programming.

Re:Spring 6.1 now compatible with virtual threads and JDK 21... by yCombLinks on Wednesday August 16, 2023 @01:29PM (#37150503)
Spring does generate some giant stacktraces, but if you have all of your code in a unique package structure (like com.mongol) just jump through your own code by searching that name.
Re:Spring 6.1 now compatible with virtual threads and JDK 21... by DonHopkins on Wednesday August 16, 2023 @01:25PM (#37150421)
"Java is a DSL for taking large XML files and converting them to stack traces." -Andrew Back

https://twitter.com/9600/status/90729345307521024

Re:Spring 6.1 now compatible with virtual threads and JDK 21... by mongol on Wednesday August 16, 2023 @02:01PM (#37151047)
Yeah, I think that is actually pretty insightful. But although that is what it has been it may not neccessarily be what comes next. I imagine developer copilots to take care of the mundande coding you would need to do without frameworks like Spring and basically make them unneccessary to a large extent. Instead you will have leaner apps, but with a larger proportion custom code, and less use of dependencies.