News for hackers. Stuff that matters.
Re:Microsoft takes .NET open source and cross-platform by Vektorweg on Wednesday November 12, 2014 @12:41PM (#8596880)
Actually, the vast amount of features in C# isn't improving readability. But MS can't just throw out the bad half of features, which makes C# practically unimprovable. Scala has a similar problem.
Re:Microsoft takes .NET open source and cross-platform by alkonaut on Wednesday November 12, 2014 @04:14PM (#8598220)
Why not? I just can't see why every language needs to gather cruft rather than evolve elegantly. Imho major versions of compilers should aim to NOT remain backwards compatible, so they can remove or change things in the syntax while they add things.
Re:Microsoft takes .NET open source and cross-platform by marvy on Wednesday November 12, 2014 @10:40PM (#8599783)
Imagine this. I'm using Cool-Lang version 2. Now Cool-Lang 3 comes out. It has lots of features that I want to use. If the new version is compatible with the old one, I download it and start using it. If not, I have to convert my whole codebase first. In practice, that means it may be many years before I can use version 3. Look at Python. In 3.0, they decided to clean up some stuff from 2.x. They even wrote a tool 2to3 which will automatically fix most of the incompatible stuff for you, so converting the whole codebase is almost automatic. The problem is "almost" automatic is not enough. Many people and groups have yet to convert their old code.
Re:Microsoft takes .NET open source and cross-platform by alkonaut on Thursday November 13, 2014 @01:21AM (#8600204)
Py2 to py3 is too far a jump which is made obvious from the fork-like nature of the project. Minor changes like API deprecation is of course already taking place in most projects. Just need to strike a balance.

I rewrote 100klines at least from C#1 to C#2 when generics came in 2.0. It was compatible in that the non generic code still worked, but I don't really see what difference that made. If we didn't want to upgrade the cod me then we wouldn't have updated the compiler!

Obviously if you don't want the benefits of Py3 then you don't have to pay the upgrade cost either.

Re:Microsoft takes .NET open source and cross-platform by frowaway001 on Wednesday November 12, 2014 @05:37PM (#8598737)
> But MS can't just throw out the bad half of features, which makes C# practically unimprovable. Scala has a similar problem.

How? Scala has been throwing out bad features in pretty much every single release for the last 5 years.

It's nothing breathtaking, it just gets done, people are happier and the language gets better.

Re:Microsoft takes .NET open source and cross-platform by pjmlp on Thursday November 13, 2014 @04:08AM (#8600597)
Scala has hardly the user base of C# developers.
Re:Microsoft takes .NET open source and cross-platform by frowaway001 on Thursday November 13, 2014 @09:30AM (#8601647)
So how has Scala "a similar problem"?

Plus, for this question, the size of the user base doesn't matter: If a developer has to adapt his code to a new language version, he/she doesn't care whether ten or ten-thousand other people have to do the same.

Re:Microsoft takes .NET open source and cross-platform by pjmlp on Thursday November 13, 2014 @10:02AM (#8601809)
It matters for the language designers, how much people they want to make angry for breaking their code.

Scala's smaller user base means there are a lot of less people to get mad.

Re:Microsoft takes .NET open source and cross-platform by frowaway001 on Thursday November 13, 2014 @10:31AM (#8601979)
And you still haven't explained how Scala has a similar problem.
Re:Microsoft takes .NET open source and cross-platform by pjmlp on Thursday November 13, 2014 @11:54AM (#8602518)
I am not the OP. Just commenting on this

> Scala has been throwing out bad features in pretty much every single release for the last 5 years.

You cannot throw out features in a language with the community size C# has, otherwise you just get another Python 3.0.

Re:Microsoft takes .NET open source and cross-platform by frowaway001 on Thursday November 13, 2014 @01:37PM (#8603179)
I'm not sure comparing C# to Python makes sense.

  a) Microsoft is in an excellent position to make such 
     changes, unlike Python, because Microsoft shops will 
     largely do whatever Microsoft tells them.

     Just have a look at how often they have incompatibly 
     changed the standard library used by C#.

  b) Not every language has to botch the transition as badly
     as Python designers did.
Re:Microsoft takes .NET open source and cross-platform by Vektorweg on Friday November 14, 2014 @12:46AM (#8605960)
Scala keeps features for imperative and functional programming, which is one category too many, because they solve the same problem just different. Thats how Scala is supposed to work. Its impossible to remove an approach.
Re:Microsoft takes .NET open source and cross-platform by frowaway001 on Friday November 14, 2014 @07:51AM (#8606870)
That's not even remotely related to the topic, isn't it?
Re:Microsoft takes .NET open source and cross-platform by Vektorweg on Friday November 14, 2014 @09:08AM (#8607140)
Theoretically, everything is related to each other. Practically, no.