impossibl / pgjdbc-ng

A new JDBC driver for PostgreSQL aimed at supporting the advanced features of JDBC and Postgres
https://impossibl.github.io/pgjdbc-ng
Other
600 stars 108 forks source link

Investigate removing the use of lambdas #351

Open kdubb opened 5 years ago

kdubb commented 5 years ago

With Java 8 as the minimum lambda's have been used. @jesperpedersen suggested this might be "bad".

If lambda's are to be disallowed, should we be removing anonymous class instances, which seem to carry the same weight (if not at least the same features) as lambdas.

reneleonhardt commented 2 months ago

How big is the performance penalty exactly to justify removing all lambdas and make the code less maintainable? https://medium.com/javarevisited/experienced-developers-use-these-quirks-to-create-better-java-lambdas-4ae656148274