Submission + - Better Java LINQ querying (github.com)
nicholas22 writes: ""A new type-safe LINQ implementation for the Java language has been developed leveraging the compiler pre-processing Java agent lombok-pg, making use of features not found in standard Java such as extension methods, block iterator yield co-routines and higher order functions. The source code is compiled down to standard Java bytecode (supporting the javac and ecj compilers) and works with all tools you're used to working with, such as Eclipse, Ant, Maven, Hudson, JUnit, etc. in a way that is transparent to the developer (i.e. there is no explicit pre-compilation step). LINQ queries provide compile time type-safety, allowing you do things like date range queries against date fields but keeping you from trying to do a date range query against a string field. Hopefully this catches on, resulting in fewer uses of String-based untyped querying (e.g. quaere), exploding at runtime and with less boilerplate and fewer lines of code than other alternatives (e.g. lambdaj).""