samedi 3 janvier 2015

What kind of reputation does Java 8 have among "enterprise" companies?


Are the new, functionally-inspired features of Java 8 well-regarded within the enterprise development community? Have they been adopted by large companies? Have coding standards been updated to account for them?


I'm in the process of completing a programming exercise for an interview. I don't write much Java, and this is my first time playing with the new features (which I think are fantastic). The company seems very "old fashioned" to me. I'm wondering if they'll find code like:



public String currentInventory() {
String inventory = prices.entrySet().stream()
.map(entry -> String.join(",", entry.getKey(), entry.getValue().toString()))
.collect(Collectors.joining("\n"));

return inventory;
}


to be strange.





Aucun commentaire:

Enregistrer un commentaire