Class cases and pattern matching (a.k.a Algebraic types)
The Pizza language design began in August 2001 when the developers made a compiler capable of working with Java. Pizza is designed to be a superset of Java, meaning any application written in Java will also be a valid Pizza application. Speed tests have shown the Pizza compiler works twice as fast as the Java compiler, but since no optimization is performed while compiling a Pizza application, the resulting application is rather cumbersome. However, the design of a compiler optimizer is currently in the works. Most Pizza applications can run in a Java environment, but certain cases will cause problems in the Java compiler. Work on the Pizza compiler is still ongoing, but Sun Microsystems and the Java community is showing increased interest in this project.
Example
This was taken from [1] (http://pizzacompiler.sourceforge.net/examples/enumerator.html).
public final class Main { public int main(String args[]) { System.out.println( new Lines(new DataInputStream(System.in)) .takeWhile(nonEmpty) .map(fun(String s) -> int { return Integer.parseInt(s); }) .reduceLeft(0, fun(int x, int y) -> int { return x + y; })); } }
The pizza was very patriotic and resembled the Italian flag with its colors of green (basil leaves), white (mozzarella), and red (tomatoes), and was named Pizza Margherita in honor of the Queen pizza crust recipe and set the standard by which today's pizza evolved and spread worldwide.
Pizza met the aristocratic taste (the King of Naples Ferdinando II of Borbone greatly enjoyed the pizzapizza dough recipes made by 'Ntuono Testa at Salita S. Teresa) and an even more decided popular favour, pizza establishes itself as a daily course, dinner and supper of the Neapolitans.
Hawaiian-style pizza is mocked by some (primarily outside the western US or Australia) as a variation which has strayed too far from its Italian roots, and loathed by some others for the effect the addition of sweet fruit has on the overall flavor, though its popularity has nonetheless endured and is a favorite of many.