Immutables
262 posts

Immutables
@ImmutablesOrg
Java annotation processor to generate Immutable classes, Builders, with a Style!
Florida, US Katılım Aralık 2013
45 Takip Edilen704 Takipçiler

3/3 ... and many more, and, at last, some more documentation on the updated immutables.org !
English

@vavr_io well, conventional wisdom says you can break compat in minor versions while below 1.0, i.e. in 0.xx, so no remorse)
English

@ImmutablesOrg Goal: Vavr should be a synonym for ‚no-brainer‘ or ‚super-dead-simple‘.
Switchable behavior would mean ‚magic‘. The behavior must be clear when looking at the code.
I‘m a friend of leaving questionable features away instead of offering all imaginable possibilities.
English

@vavr_io this is probably overthinking, what if dependencies expect different behavior regardless of switch. not insisting it's a good idea, but it should be ok )
English

@ImmutablesOrg What if the transitive dependencies rely on different behavior?
Say
- Dep A -> Vavr (switch ‚on‘)
- Dep B -> Vavr (switch ‚off‘)
Sounds fragile
English

@vavr_io can retain compatibility, but make future behavior available under system property, for example
English

@nicolai86 Aside from the main guide., here's what might be somewhat helpful: integration with @vavr_io (has persistent collections) github.com/immutables/imm… or how to integrate other arbitrary libraries immutables.github.io/encoding.html
English

@talios @ndasriaux @AmiraultTony @vavr_io not really, but you can put abstract and case-like classes under umbrella type and generate tree transformers and visitors
English

@ndasriaux @ImmutablesOrg @AmiraultTony @vavr_io Immutables does ADTs? Since when? Or do mean just that they can (manually)...
Napier City, New Zealand 🇳🇿 English

“Is it better to write vavr-ified code than idiomatic Java code? I’m sure yes.”
Stéphane Derosiaux@sderosiaux
To my fellow Java friends, I just published: "Using vavr to write more robust Java code—Or how to deal with errors in a functional way" @sderosiaux/using-vavr-to-write-more-robust-java-code-87ccb0be12d7" target="_blank" rel="nofollow noopener">medium.com/@sderosiaux/us…
English
Immutables retweetledi

@AmiraultTony @vavr_io @ImmutablesOrg And yes, @vavr_io and @ImmutablesOrg together is a match made in heaven. You can encode immutable objects and ADTs in Immutables and even pattern match on ADTs in Vavr. Typing even more along the way, making your code explicit.
English

v2.7.3 released with the important fix for broken "from" methods with Modifiable #273-2018-11-10" target="_blank" rel="nofollow noopener">github.com/immutables/imm…
English

@charlielamothe jfyi actually released 2.7.2 yesterday, just cannot update the site yet to increment version
English

@charlielamothe definitely, 2.7.2 is being prepared to be released, I expect this week! thank you
English

@ImmutablesOrg I'm excited to use Immutables Mongo with Jackson. It's the only library that correctly deserializes my use of generics + subtypes. Is there a release on the horizon?
English

Version 2.7.2 released! Thank you for issue reports and PRs with fixes, corrections, and features!!! Release notes #272-2018-11-05" target="_blank" rel="nofollow noopener">github.com/immutables/imm…
English
Immutables retweetledi

You want to use @ImmutablesOrg in your #FrontEnd? #dominokit made it easy, checkout github.com/DominoKit/gwt-…
English

2.7.1 was released with fixes, PRs and refinements, see changelog #changelog" target="_blank" rel="nofollow noopener">github.com/immutables/imm… Thank you for issue reports, questions, PRs and for you patience!
English