5 ms·
Static types with message passing works great and is used in production at any company which uses Akka typed.
by dev_dull 8y ago
Static types with message passing works great and is used in production at any company which uses Akka typed.
- barrkel 8y agoStatic types in a distributed system with hot swapping, live upgrades of parts of a running system, isn't trivial. Types are great at stating and preserving global invariants. Invariants sometimes do vary as systems evolve, though. You may need to handle polymorphism in your data flow mid-transition. And runtime polymorphism is just another phrase for dynamic typing.
- rad_gruchalski 8y agoYes and no. It works great in Scala thanks to extractors but Java is a bit of a mess, example: https://github.com/patriknw/akka-typed-blog/blob/master/src/main/java/blog/typed/javadsl/Greeter1.java https://github.com/patriknw/akka-typed-blog/blob/master/src/...