Open kashike opened 2 years ago
components are immutable, hence things like Lists, stored on components, are immutable; Right now the project is using Guavas immutable lists, aim here I'd imagine is to get away from Guava's given that java now offers their own standard implementations of these
We don't use Guava, but we do a lot of stuff like Collections.unmodifiableList(new ArrayList<>(someList))
which can just be List.copyOf(someList)
with Java 9+.
Could we possibly have more of a description on what this is achieving and what adventure is trying to change with the use of immutable collections.