Java 7 | 64 Bits
BufferedReader br = null; try { br = new BufferedReader(new FileReader("data.txt")); // ... work ... } finally { if (br != null) br.close(); // Boring, repetitive, forgettable } "No more," said Java 7. It drew a new construct from its core:
Java 7 knelt before the router and placed its hands on the source code. java 7 64 bits
"Look at that redundancy," Java 7 scoffed. With a flick, it changed the line: BufferedReader br = null; try { br =
Java 7 stepped forward. "I have something new. A gift from the concurrency wizards. ." BufferedReader br = null
"You cannot switch on a String ," warned a senior developer ghost.