Apex

Apex now provides a switch statement, methods to help you get the developer name for record types more easily, and many other enhancements.

For more information on these enhancements, refer to the Apex Developer Guide.