C# 2.0 Spec Released
An anonymous reader writes "Microsoft released the design specifications document for C# 2.0 (codenamed 'Whidbey') to be released early next year. New features of the language include generics similar to those found in Eiffel and Ada, anonymous methods similar to lambda functions in Lisp, iterators, and partial types."
What are you talking about fool? MS is perfectly within their rights to create whatever they want, blame it on the pointy-haired bosses for assuming everything MS creates is golden.
2 Personalities, one body.Ok, I know I'm a bad coder for liking C sharp, but gcc should really support it - like it or not, college computer science people *are* learning it, and Free software should support it. In fact, supporting visual basic compilation wouldn't be a bad idea either...
You've truely engineered something great not when you can't add anything more to it, but only when you can no longer remove anything from it.
Its great that they are adding new features. But are they removing anything that was decided to be a bad idea? Now is the time to do it, in the early versions shortly after its birth, before there is too much legacy code...
Will MS begin to use this for its own products like Office in the near future?
Will be Lisp.
Actually, Whidbey is the code name for the next release of Visual Studio and .NET Framework. C# is just a part of it.
http://msdn.microsoft.com/vstudio/productinfo/road map.aspx#whidbey
C# is ECMA standardized. Java is wholly owned by Sun. Sun has repeatedly balked at standardizing Java due to the inherent loss of control.
Perhaps there are potential submarine patents, but Java is absolutely vendor-tied while C# is at least relatively open.
Seriously, do they think that if they take every little feature of every other programming language, they are actually going to come out with something useful?
All they are going to get is a language that nobody will understand all of because its just too complex. Are they just out to sell the massive books and training courses that will be needed in order to learn C#2? Is this their plan to "lock in" universities to teaching microsoft programing to all levels, because it will take 4 years of classes just to cover it all?
If I have been able to see further than others, it is because I bought a pair of binoculars.
wow, that will they think of next?
Um... the C# specification *is* a platform independent specification. Good to see that you got the "+1, Knee-jerk MS Basher" moderation.
"Times have not become more violent. They have just become more televised."
-Marilyn Manson
It sounds like it's moving towards Python with the addition of Lisp-ish functions and itterators.
Any programmers looking at C#, I recommend also checking out Python, it is a wonderful language. Particularly with Win32 extensions (Windows-specific extensions, but most useful feature is an amazing editor / debugger, Pythonwin) Psyco runtime compiler and wxPython for cross-platform GUI building.
The next version will of course have features from Esperanto, Mandarin, and Martian.
I'm all for extending a language, but they haven't had C# around enough to be larding new stuff on. The language already had several ways to do most things, now they're adding more?
If we wanted ten ways to do anything, we'd use perl. If we're not using perl, that usually means we like to be a little more constrained.
-andy
Here's a clue: null pointers and memory leaks are not "low level" problems--they're logic errors. Dereferencing a null pointer can happen in Java, and accessing a disposed object can happen in C#. Memory leaks and null pointers usually mean you aren't managing an object's lifetime correctly, and are typically symptoms of design errors (or minor bugs--off by one, etc.--which can happen in any language).
C# is like most MS tools--great for 80% of the work, but the last 20% is difficult or nearly impossible because MS didn't think of the problem you were trying to solve, and the language isn't flexible enough to adapt.
Finally, it is impossible to report errors in the implementation. When I found a serious error in the .Net runtime, I tried several ways to report it, getting no answer, or in the case of the microsoft.* newsgroups, assertions that I couldn't find bugs since the high-and-mighty MS and testers hadn't find it.
Sigh. Compare that to the people who hang out in comp.lang.c++.* -- I ran screaming away from C# as quickly as possible.
Of course not.
But those who don't remember history are doomed to repeat it.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Friends don't let friends enable ecmascript.
Wrong.
Pascal is not meant for serious programming like C is, but Pascal has sorta grown into this business application language, and is far from obsolete.
You also cannot do anything in C++ that you can in C. You can do this in C, but not C++:
Or...
These examples were shamelessly ripped from Bjarne's FAQ, which is available Here.
You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
I'm the last man in the world to support Java, but C# is optimized to windows, and probably matches the OS's file system better. I'm not sure if C# would do as well in an non-MS environment
This is a pet peeve of mine. LANGUAGES SHOULD NOT BE DEBATED BY THEIR STANDARD LIBRARIES. Don't like a library? Download another. Buy one. I'm sure theres 50 gadzillion XML libraries floating around. Chances are you'll like one better than the default. If you want to debate languages, debate the features of the language- what does one language enable you to do natively that another doesn't, or what does one make easier?
This is why languages should NOT have huge libraries. The designers of a language do not get everything right, especially the first time through. Invariably, third party designers who can focus in on one area can make a better API. In languages where they have huge standard libraries, like Java and C#, people tend not to bother because there's one already there. Unfortunately, that makes people end up using terrible APIs (the original Java gui, anyone?), and leads to a lot of bad comparisons between languages that have nothing to do with the languages.
They'll come, C# hasn't been around as long. ALthough what the hell those things are I don't know (and beign a C programmer, never will need to. Nah!)
I've found a lot of inaccuracies in MSDN, although I admit the idea is nice. But comparing webpages about the two languages in a language comparison? Just plain inane. A nice help page or not has nothign to do with a language!
Again- the IDE is not a language feature. Its not really a good way to compare two languages.
I still have more fans than freaks. WTF is wrong with you people?
As is often the case with Microsoft, this *sounds* great. The reality typically turns out to be otherwise.
Expect an over ambitious plan with a buggy implementation and confused metaphors which don't necessarily fit with each other or with themselves, for that matter. However, undoubtedly, they will *sound* fantastic in powerpoint slides and when spoken of by the press, "Microsoft only" developers, and, finally, when compared to the "other guys".
The problem with Microsoft is, they market first, plan second, and then try to pick up the pieces third.
It is really unfortunate, but Microsoft isn't good for the computing industry anymore. Microsoft is only good for Microsoft. And principally this is because, Microsoft only cares about Microsoft winning, at any cost.
People who say this shit are such idiots - the differences between VB.Net and C# are slight syntactical differences only.
The reason the change wasn't made wasn't only up to Sun. Java as a language is developed by the JCP. Java out of the box is built on the write one run everywhere premise. It's not just a simple change to one platform that Sun would have to make, but a change to every vendor's VM implementation, and backwards compatibility would break, meaning no existing VM could run the code.
.net framwork or windows changes.
:)
Now let's take MS and it's alturistic willingness to make choices that break compatibility and put it in context. Heads up, they want you to have to upgrade to the next version of Windows. They dont care if they break older versions because it means more money for them. I'd go as far as to say, if the language become the primary development language for windows look for big changes as often as the
Java is maturing as a fine language lead not by Sun, but by the comunity of users and developers and I have no doubt that when the time comes to clean out the cruft for Java 3 we'll see all of the type safty maintained. Java was designed from the start to be cross platform first and with type safety and the rest as secondary goals. They've maintained the bytecode compatibility because this is not a new version, it's supposed to become a part of the Java 2 platform.
Only Java 3 will tell if I'm full of shit.
See and join the JCP, if you care to do more than just complain that they didn't do what you wanted. http://www.jcp.org/en/home/index
The biggest chunk of any language is it's vocabulary. In this case it's API.
There are OSS J2EE projects (Jboss, Jonas, Jakarta's new project).
And then there is this purely proprietary thing called MBF - Microsoft Business Framework.
BTW to emphasise that the beef is in API, not language, let me remind you that .NET Framework can be programmed in many languages (C#, VB.NET, Managed C++, etc.).
What other nearly-irrelevant subset of the beef is standartized by ECMA? Ones-and-zeores maybe? You know: "our systems are open, 'cause they are based on "ones-and-zeroes" standard" ;-)
Anyway, ECMA seems to be almost a joke in terms of freedom of their standards: http://techupdate.zdnet.com/techupdate/stories/mai n/0,14179,2832719,00.html:
And it appears that ISO (C#/CLI are ISO standards too) is no better: http://www.imaging-resource.com/NEWS/1027527673.ht ml (JPEG no more?):
So what is a safer bet, OSS Java or .NET? Of course .NET, because it's closed and thus patent-torpedoes-invincible - can license patented technology, unlike all those open J2EE projects...
I'm sure it's better to suffer proprietary lock-in than potentially-deadly patent threat. Right?
Yet, even MS can be torpedoed successfully once in a while (e.g. that plugins patent hitting IE).
Software world seems to be a mess with no clear future perspective.
[Sorry for a somewhat-messy/offtopickish post.]
> C# is ECMA standardized. Java is wholly owned by Sun. Sun has repeatedly balked at standardizing Java due to the inherent loss of control.
I suggest you write the following lists side-by-side:
On the left, list the companies with members on the standards committe participating in defining the specification of upcoming versions of the Java language (JSRs 14, 175, 176 and 201). Count how many times each company appears on these lists, too.
On the right, list the companies with members on the standards committe participating in defining the specification of upcoming versions of the C# language.