2023年3月12日 14:44,Lucifer Tyrant <[email protected]> 写道:
Hi developers, With the release of StreamPark's inaugural Apache version, our platform is becoming increasingly familiar to the public eye and an ever-growing number of developers are also joining the StreamPark community. In order to promote the overall development of the project and reduce the barrier to contribution, It is necessary for us to standardize the programming language used in the entire project. In my opinion, standardizing the programming language would bring the following benefits: 1. Uniformity in code style and interface. 2. Enhanced cohesion among project modules, eliminating any sense of disconnection. 3. Attracting more contributors to join the project. 4. Better compatibility with Flink. What do you think about this? If your guys has some advice, please let me know and reply this email. Best wishes! Chao Tian Hi Tyrant, I agree with your point of view. I have experience writing Scala modules for StreamPark, which uses a Java-style implementation without specific features like cat, zio, and monix. Refactoring some concentrated modules into Java should not be difficult. The main motivation for refactoring to Java is that Flink/Scala referenced by StreamPark are locked to the Scala version. Currently using StreamPark with Scala 2.12 cannot support Flink-Scala-2.11 and Spark-Scala-2.13. Although I am a loyal supporter of Scala enthusiasts and familiar with its ecosystem, I have noticed significant fragmentation in recent years: while Scala 2.x is declining and the ecology of Scala 3 remains incomplete, various sub-communities within the world of scala are becoming increasingly fragmented. In contrast, Java 17 has already completed many necessary modern programming language syntax sugars. Best, Linying Assad.
