Live data from Hacker News

Google joins .NET Foundation as Samsung brings .NET support to Tizen

techcrunch.com

151–160 of 341 posts

Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen

#151
post #60

Earlier quoted context omitted.

If you have visual studio it tells you what the var is.

So, where do I get a version fo Visual Studio that’s open source, and works on Linux? And not just the little text editor VS Code, a real IDE? For most devs, Visual Studio isn’t a realistic option.

Well they just released a preview for VS on macOS.

Project Rider by Jetbrains is a cross platform C# IDE.

VS Code has some tooling.

etc...

Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen

#152

Earlier quoted context omitted.

IMO operator overloading is less bad than goto. (C# has them both) C# also has yield, async, structs, reflection on generics, and a number of other features.

I think using goto when breaking multiple loops is useful.At least you know where the next line will be.

There are reasonable applications for goto. But I think there are more reasonable applications for operator overloading. (like Complex, BigInteger, or dimensional types)

Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen

#153
post #58

Earlier quoted context omitted.

C# and java are very similar except C# has a bunch of extra features. Instead of creating anonymous classes and overriding methods you use event handlers. Plus you have linq,lambdas, operator overloading etc.

There’s also the Stream API and lambdas in Java. Operator overloading is probably the worst feature ever invented, same with Class Extensions, reducing readability of code. And with a switch to C# Google would neglect the Java ecosystem on Android, requiring us app devs to rewrite everything again. I’m not sure there’s an upside to switching to C#.

> Operator overloading is probably the worst feature ever invented, same with Class Extensions, reducing readability of code

or greatly enhancing it. Depending on how you use it.

That's why Java is a language for idiots. I'm not saying everyone who uses it or likes it is an idiot, it's a reasonable language to like. I'm saying it's designed to be usable by idiots. Can't have operator overloading, it might be abused. Can't have unsigned types, no one ever should use those. etc...

Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen

#154

I like the laptop with a bunch of lovely Microsoft technologies, and then WiX. Please, please die WiX. Imperative XML + non-deterministic execution order + the worst error messages of the entire stack. I love C# and the CLR, but damn WiX sucks.

Rob Mensching the creator of WIX was on dot net rocks recently. Might give you a bit of a perspective from the other side :) http://www.dotnetrocks.com/?show=1367

Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen

#155
post #19

Earlier quoted context omitted.

Anonymous classes are the big thing I miss. (Yes C# has a feature called "anonymous classes" as well, but it's completely different).

What do you still use those for? I can't remember the last time I saw an anonymous class used in a way that isn't superseded by lambdas.

I use them all the time for defining singleton implementations.

    public static final MyInterface SINGLETON = new MyInterface() {
        ...
    }

Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen

#156
post #49

Earlier quoted context omitted.

* C# is much more mature * It has an enormous user base * It's not owned by Oracle Not saying they will but those are real possible reasons for Google to do this.

> * It's not owned by Oracle So you replace one lawsuit-happy DB company with... another lawsuit-happy DB company.

And Google directly competes with MSFT on many more verticals

Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen

#158

Earlier quoted context omitted.

It's a mighty good option to have when you are negotiating with Microsoft. Imagine Google offering to Microsoft that they would adopt Microsoft development tools and technologies iff Microsoft kills Windows Phone.

Why on earth would Google care enough right now about MS' phone efforts for that to be something they're actively seeking? I think it's far more likely that any movement towards C# on Android would be motivated by: 1) perhaps enough devs are asking for it, and 2) it would give them extra leverage in negotiations with Oracle about Java.

Google would be foolish to think Microsoft is down for good in the phone market. If this is something they would ever consider negotiating for, they wouldn't wait until Microsoft is strong. You do it when they are weak.

Plus, if they make a deal with Microsoft, Samsung can't come along and make the same deal with Microsoft for Tizen tools.

Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen

#159
post #2

Nice. Now please make C# a first-class citizen in Android and start to migrate from Java to C#.

Why ? what does it bring that Kotlin cannot ?

I like C# but making a language a first-class citizen of a platform is an huge task. And we can already use kotlin without re-engineering the whole stack.

Re: Google joins .NET Foundation as Samsung brings .NET support to Tizen

#160
post #143

Earlier quoted context omitted.

Not attacking you opinion at all but I'm a little shocked that someone would have this opinion, I work at a Java shop (using java 8 but I'm mostly now on the node.js side). Java 8 really doesn't have any features that are better than C#'s. Java 8 is missing some pretty major ones, like type inference, automatic getters/setters, LINQ, function passing support that's not brain dead, and a number of of things that make…

While I prefer C#'s delegates/lambdas, there has been an occasional time I've wished for the ability to construct a full instanced object in that case - Java's anonymous inner classes are brilliant at this. Likewise Java's OOP enums (basically singletons) are something I miss too. That's a few small features I notice missing when I switch to C#. Plus, in general I find there's a difference in style. C# libraries tend…

You might like F#'s object expressions for the cases where a lambda won't do.
Post reply on HN