On Sat, Apr 16, 2016 at 4:30 PM, Marko Rauhamaa <ma...@pacujo.net> wrote: > > Java generics ruined a perfectly good language. I mean: > > Map<AccountManager, List<Customer>> customersOfAccountManager = > new HashMap<AccountManagerImpl, LinkedList<CustomerImpl>>(); > > where classic Java would have: > > Map customersOfAccountManager = new HashMap();
The diamond operator in JDK 7 makes this a lot more tolerable, IMO: Map<AccountManager, List<Customer>> customersOfAccountManager = new HashMap<>(); -- https://mail.python.org/mailman/listinfo/python-list