4 ms·
Yep, mostly Lombok (especially @Data for immutable typed objects with automatic constructors without boilerplate), streams, and lambdas.
by sdegutis 10y ago
Yep, mostly Lombok (especially @Data for immutable typed objects with automatic constructors without boilerplate), streams, and lambdas.
- gravypod 10y agoPersonally I think Lombok should be mainlined at some point. It's just so perfect in everything I've tried.
- sandGorgon 10y agoare there any opensource github projects that illustrate the use of this infrastructure (java 8 + lombok + streams + lambda) in a very clojure-ish way ? its hard to find good examples of this style of coding. For example, it is hard to figure out which app server (Spring Boot, undertow, dropwizard, wildfly). I'm sure you can use any... but it would be nice to learn from your experiences.
- gravypod 10y agoCould you provide an example project that you'd like to see implemented and I'll give it a go? I'm not the person who's doing this but I think I'd like to mess around with functional programming and I love Java.
- sandGorgon 10y agoNice! Drip campaigns - https://www.sendwithus.com/resources/guide#ch2-drip https://www.sendwithus.com/resources/guide#ch2-drip This is an example of a project that is not UI centric, has quite a bit of database integrations (postgres), mailer integrations (mailgun), scheduler (https://dzone.com/articles/distributed-tasks-execution-and-scheduling-in-java https://dzone.com/articles/distributed-tasks-execution-and-s...). It has also has a bit of math to compute stuff. Even without a UI - it is something that could be very useful!
- gravypod 10y agoSounds pretty good. I've sent you an email for more details. I'm interested in doing this. It's a cool project idea.