3 ms·
Well hopefully it won't be mixed in _randomly_. I have some use cases in mind and think it will be very helpful. I have been converting a 10+ year-old code bas
by msgilligan 3y ago
Well hopefully it won't be mixed in _randomly_.
I have some use cases in mind and think it will be very helpful. I have been converting a 10+ year-old code base to modern, functional-style Java and believe that sealed types and pattern matching will help us further simplify our code and eliminate more usages of nullable values.
A challenge for us will be that we need the core library to stay on JDK 8 for a while. But, in general, I am finding that you can implement a JDK 8 library that works well with newer JDKs if you are careful (and willing to write more verbose code using the older syntax/libraries to support the newer paradigms)