BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

rss
JavaScript Follow 31 Followers

TypeScript 2.3 Adds Generic Default Arguments, Async Iterators Support, and More

by Sergio De Simone Follow 4 Followers on  Apr 29, 2017

TypeScript 2.3 extends the language syntax by adding support for declaring defaults for generic type parameters and for async generators and iterators. It also aims to improve integration with existing JavaScript code with a new compile option and introduces official support for language server plugins.

Java Follow 113 Followers

New JEP Would Simplify Java Type Variance

by Abraham Marín Pérez  Followers on  Jan 24, 2017

A new JEP Candidate proposes to facilitate the handling of type variance in Java. The new proposal, potentially targeting Java 10, would add a means for specifying the default variance in the definition of generic types, different to the current style of indicating it through wildcards at instantiation. This proposal is not a replacement for wildcards, but rather a way to reduce the need for them.

Java Follow 113 Followers

Java Enums to Be Enhanced with Sharper Type Support

by Abraham Marín Pérez  Followers 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.

Followers

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

by Abraham Marín Pérez  Followers 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.

Followers

Under the Hood with a Prototype of Enhanced Generics for Java

by Ben Evans Follow 6 Followers 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.

Followers

C++14 Is Here: Summary of New Features

by Sergio De Simone Follow 4 Followers 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."

Followers

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

by Abel Avram Follow 3 Followers 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.

Followers

Covariance and Contravariance in .NET Generics

by Jonathan Allen Follow 5 Followers 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.

Followers

Two years later, frustration with Generics continues

by Rob Thornton Follow 0 Followers 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?

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT