Well, built in executor is multithreaded and code written with Promises is not a traditional callback-based. Here and here you can find more details.
As for readability, you can take a look at some examples here.
As for maintainability (a little long :) ).
The RT is a research project and the goal of research is to define new coding style (I call it "Pragmatic Functional Java") which would enable writing readable, maintainable and reliable code with low mental overhead. One of specifics of this style is heavy use of monads and Promise is one of them. Monads allow abstracting out significant amount of run-time details, in particular underlying concurrency model. In other words, there is no visible difference between single-threaded vs multi-threaded code. As a consequence, this code is proof to issues of traditional multithreaded code and therefore is more maintainable.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well, built in executor is multithreaded and code written with Promises is not a traditional callback-based. Here and here you can find more details.
As for readability, you can take a look at some examples here.
As for maintainability (a little long :) ).
The RT is a research project and the goal of research is to define new coding style (I call it "Pragmatic Functional Java") which would enable writing readable, maintainable and reliable code with low mental overhead. One of specifics of this style is heavy use of monads and Promise is one of them. Monads allow abstracting out significant amount of run-time details, in particular underlying concurrency model. In other words, there is no visible difference between single-threaded vs multi-threaded code. As a consequence, this code is proof to issues of traditional multithreaded code and therefore is more maintainable.