Hacker News new | ask | show | jobs
by mariusmg 3813 days ago
C#. Yesterday i rebuild a project (with latest compiler version) that i've created 12 years ago.
1 comments

Note that C# famously broke backwards compatibility when it added generics. I say "famously" because it opted not to follow Java's type-erasure approach (which was chosen so as to explicitly maintain backwards compatibility), and history seems to agree that the minor amount of pain back then was well worth the improvements that it brought to the language (especially relative to Java).
They also changed the for loop var semantics in C# 5.

There a few other little breaking changes as well.