BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Language Design Content on InfoQ

  • C# 8: Type Inference for the New Keyword

    In many situations, there is only one possible type allowed in a given place. And yet C# still requires you to explicitly list the type. If the Target-typed `new` expression proposal is adopted, such boilerplate code will no longer be necessary.

  • Update on C# and F#’s Default Interface Methods

    The hotly contested Default Interface Methods feature is also being considered for F#. But this feature may be limited to only .NET Core, putting the whole proposal into jeopardy.

  • Build 2018: The Future of C#

    Number one on the list of future C# features is Nullable Reference Types. But also on the table are enhancements to pattern matching, array slicing, asynchronous iterators, default interface methods, and possibly even records.

  • New Features in C# 7.3

    Though a comparatively minor release, C# 7.3 addresses some long outstanding complaints from C# 1 and 2 such as overload resolution and generic constraints that work with enums and delegates.

  • Brian Goetz Speaks to InfoQ on Data Classes for Java

    Brian Goetz, Java language architect at Oracle, introduced an experimental concept of data classes that may someday be integrated into the Java programming language. But there is much work to be done before this concept is worthy of any real attention. Goetz explored the problems and tradeoffs of data classes on the premise that sometimes “data is just data.”

  • Microsoft Previews Nullable Reference Types in C# 8

    Microsoft has made available Nullable Reference Types as preview for developers who want to try the new feature and provide feedback.

  • Catching up with C# 7.1 and C# 7.2

    Back in August, C# 7.1 was quietly released along with Visual Studio 15.3, but it’s not quite ready. In this report we’ll look at a subtle compiler bug and what’s next in store for the soon to be released C# 7.2.

  • C# 8.0 Previewed

    In a Channel 9 video, Mads Torgersen has demonstrated the first four features for C# 8. The features include nullable reference types, async streams, and more.

  • Google Discusses Go 2

    At GopherCon 2017 which took place this week, Russ Cox, the tech lead for Go at Google, keynoted on the future of Go, inviting the community to submit suggestions on what should be included in the next major version of the language.

  • C# 7.2 and 8.0 Roadmap

    Features are already being lined up for C# 7.2 and 8.0 including nullable reference types and limited multiple inheritance.

  • An Early Look at C# 7.1: Part 2

    Yesterday we looked at Async Main and Default Expressions. Our tour of C# 7.1 continues with the proposals titled Infer Tuple Names and Pattern-matching with Generics.

  • An Early Look at C# 7.1: Part 1

    For the first time since 2003, Microsoft is considering a point release for C#. Currently marked as C# 7.1, the next version of the language is expected to include Async Main, Default Expressions, Infer Tuple Names, and Pattern-matching with Generics.

  • .NET Futures: Asynchronous Streams

    Since async/await was announced for VB/C#, developers have been asking about an asynchronous version of IEnumerable. But until C# 7 and ValueTask, that was potentially challenging from a performance standpoint.

  • C# Futures: Relaxed Overrides

    A commonly requested feature in .NET is the ability to use covariant return types. An example of this would be overriding “virtual object Clone()” with “override Widget Clone()”. From a type safety perspective, this is perfectly acceptable, but C# doesn’t currently allow it.

  • C# Futures: Read-Only Local Variables

    Not too long ago the proposal for read-only local variables was revived. This is a much more modest feature than the read-only references proposal, but the two are complementary.

BT