Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×
Java

+ - Better Java LINQ querying->

Submitted by
nicholas22
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).""
Link to Original Source
Microsoft

+ - Windows 7 Kicks Out Windows XP From The Top Spot i->

Submitted by
dkd903
dkd903 writes "Talking about the numbers, Windows 7 now has a strong 40.21% share of all desktop operating systems around the world whereas, the usage share of Windows XP has slipped to 38.64%. All this happened a couple of days back (in October). The rise in usage of Windows 7 and the drop in usage of Windows XP has been consistent since the time Windows 7 was first launched."
Link to Original Source
Java

+ - Java LINQ-> 3

Submitted by
nicholas22
nicholas22 writes "A Java library providing LINQ (Language INtegrated Query) has been developed, using a Scala-style programming library called lombok-pg, that supports features not found in standard JDK libraries, such as extension methods, yield coroutines and functions.

Examples (valid Java):
String[] names = new String[] { "james", "john", "john", "eddie" }.where(startsWith("j")).distinct();
char[] alphabet = new Character('A').to(new Character('Z')).unbox();

This Java code would take approximately 4x the number of lines of code."

Link to Original Source

No line available at 300 baud.

Working...