Live data from Hacker News

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

techcrunch.com

141–150 of 341 posts

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

#141

Earlier quoted context omitted.

Please just make C-ABI's first-class citizens (especially on the GUI front), then all other languages can bind to that.

This is the only approach that works across a wide variety of languages, and yet I can't help but think that would be a terribly bad idea in terms of user experience. Because you would end up with major apps written in Ruby or Python, draining batteries and stealing all your RAM. Not that we aren't already headed there with a ton of app frameworks embracing javascript.

Apps written in python would still take less battery than an equivalent JS webapp

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

#142

Earlier quoted context omitted.

It's already there? The CLR is a well maintained and engineered system. Why do you believe otherwise?

At one time, the JVM had superior configurability - many more runtime options for aggressive garbage collection, profiling, optimization, and debugging. But maybe you're right - it's been a few years since I made a looked at the comparison.

> At one time, the JVM had superior configurability - many more runtime options for aggressive garbage collection, profiling, optimization, and debugging.

I'm not sure that this actually implies it was a more robust and production ready system. The JVM seems to be on a similar path of reducing somewhat how much tuning is expected of operators. Certainly we do less of it now on Java 8 (although some of the defaults it sets are truly boneheaded).

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

#143
post #6

Earlier quoted context omitted.

No thanks. I like Java, and esp Java 8 just fine.

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 to be more pragmatic, following on Microsoft's heavy use of reflection and stringly-typed stuff. Not much OOP navel-gazing.

Java, on the other hand, celebrates OOP to a ludicrous extreme.

Also on the community, C# has been working very hard to develop the kind of bazaar that Java has, but they're coming from far behind on that front - far more C# developers restrict them to the first-party tools compared to the Java ones.

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

#144

Earlier quoted context omitted.

When I started going into C# from Java a bit, there were two things slightly annoying me: - Class extensions: I saw code examples online that just wouldn't work for me because the compiler told me a certain method of a built-in class wouldn't exist. After I while I found out that the author of that snippet had used class extensions and not bothered to mention. - The var keyword: While this is sometimes nice for quick…

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

I noticed my post was down voted. I am just sharing information. I don't understand why that merits a down vote.

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

#145
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.

It's worth noting that Microsoft is aggressively pledging about patents, open sourcing with very clear and explicit licenses, and making industry-level promises that imply they're serious about making .NET Core an open and usable platform.

It would be nicer if there was a managed langauge platform that was not tied to an entity with a history of patent litigation, but let's not lose our sense of scale here. The degree to which Oracle has betrayed our community and tried to undermine the bearable status quo of the software industry to milk the Android ecosystem is as unforgivable as anything Microsoft has done in the darkest depths of the Balmer era.

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

#146

Earlier quoted context omitted.

When I started going into C# from Java a bit, there were two things slightly annoying me: - Class extensions: I saw code examples online that just wouldn't work for me because the compiler told me a certain method of a built-in class wouldn't exist. After I while I found out that the author of that snippet had used class extensions and not bothered to mention. - The var keyword: While this is sometimes nice for quick…

> The var keyword: While this is sometimes nice for quick scripting or hacking in the debugger console, it opens the door for hard-to-read code. I find type inference to be the opposite, generally, because it encourages good naming, and it reduces noise/boilerplate. It also makes writing and refactoring faster (don't have to think about the return types, just the code flow). The only situation I can even think of whe…

> It also makes writing and refactoring faster (don't have to think about the return types, just the code flow).

I see what you mean, but isn't this one of the advantages of explicitly declaring types? If you refactor a method to return a different (incompatible) type, you'll have to touch all affected code parts, possibly revealing uninteded consequences of the change.

Also, I think remembering that autocompletion in VS had some trouble with correct type inference in some cases. But it's been a couple of years, maybe things are different now.

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

#147

Earlier quoted context omitted.

What magic are you talking about? Various .Net frameworks have silly amounts of magic, but C# itself?

When I started going into C# from Java a bit, there were two things slightly annoying me: - Class extensions: I saw code examples online that just wouldn't work for me because the compiler told me a certain method of a built-in class wouldn't exist. After I while I found out that the author of that snippet had used class extensions and not bothered to mention. - The var keyword: While this is sometimes nice for quick…

both of these are great tools, but as with many you have tradeoffs. Extension methods give you a way to produce very clean reusable code to extend behaviour of classes. Downside is you do need to bring in the extension method class (not a big deal).

Java is a shitty language exactly because they don't put in things like these out of fear that people don't know how to use them.

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

#148
post #6

Earlier quoted context omitted.

No thanks. I like Java, and esp Java 8 just fine.

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…

The ecosystem is an important factor too. I'm excited to use C# in new projects, but I can't move away from Java without replacements for all of the libraries of external code that I use.

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

#149
post #111
post #109

Earlier quoted context omitted.

Is Java currently behind C# in any capacity? Not that a shot in the arm wouldn't be good for Oracle, but Java definitely still reigns supreme at the moment, despite Oracle's involvement. http://www.tiobe.com/tiobe-index/

Java the language versus C# the language.

Same question. What advantages does C# the language have vs Java the language? Do people perceive Java as playing "catch up" with other languages?

e: I only ask because I've always heard the opposite.

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

#150
post #48
post #2

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

Google have not made their own languages Dart/Go official to Android. Why would they make languages other than Java a priority now?

Google did have certain disputes over Java with Oracle. That could be one factor.

Maybe Google could decide that putting resources on Dalvik and related tool development does not make sense.

Maybe they would like to see one language to cover both the client and cloud development.

Post reply on HN