Java Enums to Be Enhanced with Sharper Type Support

by Abraham Marín Pérez on  Jan 10, 2017 5

Java enums will be enhanced with generics support and with the ability to add methods to individual items, a new JEP shows. Since both features can be delivered with the same code change, they are bundled together in the same JEP. The change only affects the Java compiler, and therefore no runtime changes are needed. Although there is no target version, Java 10 seems likely.

Richard Warburton and Raoul-Gabriel Urma Review the History of Generics in Java at Devoxx UK

by Abraham Marín Pérez on  Jul 01, 2015

Richard and Raoul, who provide in person training courses on Java 8, offered a joint presentation at Devoxx UK 2015 where they discussed the origins and motivations for Generics in Java, some of the less known current features, and a glimpse of what might be coming up in Java 10. The presentation was split into three distinctive sections: past, present and future of Generics.

Under the Hood with a Prototype of Enhanced Generics for Java

by Ben Evans on  Dec 29, 2014 23

Although Java 8 only shipped earlier this year, with Java 9 not due until mid-2016, a first prototype of features expected for Java 10 has appeared, including an overhaul of Java's generics.

C++14 Is Here: Summary of New Features

by Sergio De Simone on  Aug 23, 2014 2

C++14, the new C++ standard succeeding C++11, has been finally approved and is heading to ISO for publication this year. While improvements in C++14 are "deliberately tiny" compared to C++11, says C++ creator Bjarne Stroustrup, they still "add significant convenience for users" and are a step on the route to make C++ "more novice friendly."

Interview: Don Syme Answering Questions on F#, C#, Haskell and Scala

by Abel Avram on  Mar 27, 2009 8

In this interview made by InfoQ’s Sadek Drobi, Don Syme, a Senior Researcher at Microsoft Research, answers questions mostly on F#, but also on functional programming, C# generics, type classes in Haskell, similarities between F# and Scala.

Covariance and Contravariance in .NET Generics

by Jonathan Allen on  Aug 13, 2008

Currently .NET languages such as VB and C# do not support covariance and contravariance for generics. While this is not likely to chance in the near future, people at Microsoft are talking about it.

Two years later, frustration with Generics continues

by Rob Thornton on  Nov 02, 2006 8

Laird Nelson describes his frustrations with understanding Java Generics. While clear in the simple case, as he works through a more complicated scenario, he ends up throwing them away because they're so complicated. Are we helping or hurting ourselves by using Generics?

General Feedback
Marketing and all content copyright © 2006-2016 C4Media Inc. hosted at Contegix, the best ISP we've ever worked with.
Privacy policy

We notice you're using an ad blocker

We understand why you use ad blockers. However to keep InfoQ free we need your support. InfoQ will not provide your data to third parties without individual opt-in consent. We only work with advertisers relevant to our readers. Please consider whitelisting us.