Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

C# 2.0 Spec Released

michael posted more than 10 years ago | from the most-anticipated-new-language-of-the-week dept.

Microsoft 634

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."

cancel ×

634 comments

Sorry! There are no comments related to the filter you selected.

GNAA See Sharp Penises (-1, Flamebait)

Anonymous Coward | more than 10 years ago | (#7311284)

GNAA (GAY NIGGER ASSOCIATION OF AMERICA) is the first organization which
gathers GAY NIGGERS from all over America and abroad for one common goal - being GAY NIGGERS.

Are you GAY [klerck.org] ?
Are you a NIGGER [tux.org] ?
Are you a GAY NIGGER [gay-sex-access.com] ?

If you answered "Yes" to any of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!
Join GNAA (GAY NIGGER ASSOCIATION OF AMERICA) today, and enjoy all the benefits of being a full-time GNAA member.
GNAA (GAY NIGGER ASSOCIATION OF AMERICA) is the fastest-growing GAY NIGGER community with THOUSANDS of members all over United States of America. You, too, can be a part of GNAA if you join today!

Why not? It's quick and easy - only 3 simple steps!

First, you have to obtain a copy of GAY NIGGERS FROM OUTER SPACE THE MOVIE [imdb.com] and watch it.

Second, you need to succeed in posting a GNAA "first post" on slashdot.org [slashdot.org] , a popular "news for trolls" website

Third, you need to join the official GNAA irc channel #GNAA on EFNet, and apply for membership.
Talk to one of the ops or any of the other members in the channel to sign up today!

If you are having trouble locating #GNAA, the official GAY NIGGER ASSOCIATION OF AMERICA irc channel, you might be on a wrong irc network. The correct network is EFNet, and you can connect to irc.secsup.org or irc.easynews.com as one of the EFNet servers.
If you do not have an IRC client handy, you are free to use the GNAA Java IRC client by clicking here [nero-online.org] .

If you have mod points and would like to support GNAA, please moderate this post up.

This post brought to you by Penisbird [nero-online.org] , a proud member of the GNAA

G_____________________________________naann_______ ________G
N_____________________________nnnaa__nanaaa_______ ________A
A____________________aanana__nannaa_nna_an________ ________Y
A_____________annna_nnnnnan_aan_aa__na__aa________ ________*
G____________nnaana_nnn__nn_aa__nn__na_anaann_MERI CA______N
N___________ana__nn_an___an_aa_anaaannnanaa_______ ________I
A___________aa__ana_nn___nn_nnnnaa___ana__________ ________G
A__________nna__an__na___nn__nnn___SSOCIATION_of__ ________G
G__________ana_naa__an___nnn______________________ ________E
N__________ananan___nn___aan_IGGER________________ ________R
A__________nnna____naa____________________________ ________S
A________nnaa_____anan____________________________ ________*
G________anaannana________________________________ ________A
N________ananaannn_AY_____________________________ ________S
A________ana____nn_________IRC-EFNET-#GNAA________ ________S
A_______nn_____na_________________________________ ________O
*_______aaaan_____________________________________ ________C
um, dolor. Nunc nec nisl. Phasellus blandit tempor augue. Donec arcu orci, adipiscing ac, interdum a, tempus nec, enim. Phasellus placerat iaculis orci. Crasa sit amet quam. Sed enim quam, porta quis, aliquet quis, hendrerit ut, sem. Etiam felis tellus, suscipit et, consequat quis, pharetra sit amet, nisl. Aenean arcu massa, lacinia in, dictum eu, pulvinar ac, orci. Mauris at diam tempor ante ullamcorper molestie. Ut dapibus eleifend ipsum. Nam dignissim.

Re:GNAA See Sharp Penises (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7311356)

The IP of the parent's poster is 24.174.81.26. Please join me in contacting RoadRunner in an effort to get this user removed from their network. We, the users of Slashbot, must take a stand against these annoying crapfloods. If enough of us complain about these abusive users ruining Slashdot for the rest of us, perhaps something will be done to stop them. Thank you for your time.

Re:GNAA See Sharp Penises (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7311374)

How exactly are you able to find the IP address of a poster?

Re:GNAA See Sharp Penises (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7311414)

My guess is that the child poster was in an IRC channel, and snagged the IP of the parent poster when that poster claimed first post.

Very uncool to post someone's IP and solicit complaints because of a weblog post, but RoadRunner will ignore them, anyway.

~~~

Re:GNAA See Sharp Penises (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7311394)

I thought your "friends" at RoadRunner would take care of this?

I'm about to move anyway. So go ahead and see if RoadRunner gives a shit about someone posting GNAA posts to Slashdot (which by the way, is not against the TOS)

Re:GNAA See Sharp Penises (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7311410)

How exactly is the GNAA ruining your Slashdot experience?

Such things like threshold and moderation exist for a reason. You come across as a whiny loser who wants to stifle free speech rather than just ignore the GNAA losers yourself. Get a life.

Re:GNAA See Sharp Penises (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7311438)

Actually, I'm trolling to try and get bites because the GNAA always bites on my responses. The GNAA bites even quicker than the usual dumbass Slashbot. Anyways, thanks for the bite.

YHBT! YHL! HAND!

Re:GNAA See Sharp Penises (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7311449)

No, I was trolling to see if you actually had the balls to do it. YHBT. FOAD. HAND. YHL.

Re:GNAA See Sharp Penises (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7311460)

Yeah good one, and can you do the same for all the OT Sco and Linux posts that appear in their hundreds here

Whidbey? (0, Offtopic)

krumms (613921) | more than 10 years ago | (#7311288)

Worst. Codename. Ever.

Re:Whidbey? (2, Informative)

ergo98 (9391) | more than 10 years ago | (#7311321)

There's an island [msn.com] just outside of Seattle that is called "Whidbey Island".

Re:Whidbey? (1)

Doomrat (615771) | more than 10 years ago | (#7311337)

*ahem*, worse than Codename: Woody?

How about Codename: Stiffy
Codename: Morning Wood
Codename: I really gotta bone, 'yo.

Re:Whidbey? (0)

Anonymous Coward | more than 10 years ago | (#7311385)

The SOED does not contain the word Whidbey, but I can find its parts:

Whid: 1. A word. /Criminal slang/

Bey: The governor of a distict or province in the Ottoman Empire.

Conclusion: A Whidbey is someone who does criminal things on his ottoman.

Re:Whidbey? (1)

Otter (3800) | more than 10 years ago | (#7311541)

I dunno -- that string of GNOME release names with things like "Euphoric Jellyfish" and "Look, my pants fell off!" makes Whidbey look downright poetic.

That's great (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7311290)

When does the platform independent spec come out? Oh wait, it's Microsoft, they don't want their language to be a langauge in and of itsself, they want it to further tie everyone into their proprietary system.

White Hat Research: Exposing Vampire Cults in Small Town USA since 1996 [whitehatresearch.net]

Re:That's great (1, Insightful)

Anonymous Coward | more than 10 years ago | (#7311295)

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. [whitehatresearch.net]

Re:That's great (1)

eln (21727) | more than 10 years ago | (#7311376)

Microsoft is hardly the only company releasing proprietary programming languages. Software AG's Natural is the one that comes most readily to my mind, but there are several others.

Re:That's great (0)

Anonymous Coward | more than 10 years ago | (#7311478)

I thought C# was the one that had the public standards body (thus a public standard)... unlike Java...

Woohoo (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7311293)

FIRST POST! eerrr second

gc#? (2, Insightful)

Anonymous Coward | more than 10 years ago | (#7311299)

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

Re:gc#? (2, Insightful)

Anonymous Coward | more than 10 years ago | (#7311323)

put your money where your mouth is; so to speak :)

gcc is Free software; so download the source and add c# or visual basic support. Once you get the ball rolling others will join in and help.

Re:gc#? (0, Troll)

hedley (8715) | more than 10 years ago | (#7311351)

No doubt in doing so violating some Mr Softie software patent and thus receiving a cease and desist.

Re:gc#? (3, Funny)

Miguel de Icaza (660439) | more than 10 years ago | (#7311423)

No doubt in doing so violating some Mr Softie software patent and thus receiving a cease and desist.

actually i would doubt it

Re:gc#? (0)

Anonymous Coward | more than 10 years ago | (#7311529)

actually i would doubt it

You're not Miguel [slashdot.org] , lamer

Re:gc#? (5, Informative)

termos (634980) | more than 10 years ago | (#7311343)

Maybe you want to take a look a mono [go-mono.com] .

Re:gc#? (0)

Anonymous Coward | more than 10 years ago | (#7311491)

But remember to avoid simians with the kissing disease.

Re:gc#? (0)

Anonymous Coward | more than 10 years ago | (#7311400)

Really? I'm not learning it. Right now I'm learning Java, and then I'm doing a course where C, C++ and Perl are all used for various problem-solving.

There is a Visual Basic course but it's mostly business students taking it.

Re:gc#? (0)

Anonymous Coward | more than 10 years ago | (#7311402)

What's with continually reinventing languages? There are hundreds out there now, thousands even, and in essence they all boil down to the same 5 or 10 doing the same shit. How many more do we need? Will I reach 2010 and look back and see another hundred new and abandoned languages doing Yet More Of The Same?

dammit

Re:gc#? (1, Insightful)

Anonymous Coward | more than 10 years ago | (#7311517)

that's just natural selection in action

people keep making languages, taking what they see as the best part of others, and occasionally putting in a new concept

the crappy ones, which is most of them, get selected out of course, but eventually someone will make one that kicks the crap out of everything else (but it won't happen if people stop trying)

almost certainly in 2010 you will look back and see dozens more crappy abandoned languages, but hopefully there will be 1 or 2 that make things easier

Re:gc#? (0)

Anonymous Coward | more than 10 years ago | (#7311429)

You're not a bad coder for using C#. It's better than programming in C or C++...

Re:gc#? (0)

Anonymous Coward | more than 10 years ago | (#7311487)

.. and now for the REASON.

Code name (4, Informative)

flynt (248848) | more than 10 years ago | (#7311301)

Whidbey is the code name for the next Visual Studio, not just C#.

Re:Code name (0)

Anonymous Coward | more than 10 years ago | (#7311421)

Oh great, so another year goes by, and I have to shell out another 800 ($1300?) to get the latest version?

While I think C# is a great language, doing a full point upgrade and linking it to a yearly product rollout is incredibly annoying. Yes I know it's Microsoft so we should expect these kind of things, but every year!? I skipped Everett (VS.NET 2003) because I ascertained that they were mainly minor improvements and weren't really worth it, but this sounds like a whole different kettle of fish.

Aye well, that's the price you pay for being (or trying to be?) cutting edge I guess... *sigh*

Re:Code name (1)

flynt (248848) | more than 10 years ago | (#7311461)

The upgrade to VS.Net 2003 is/was only $30 (yes, thirty) for anyone with a copy of Visual Studio .Net. I don't know if this deal is still going on.

Cheap update (1)

Anonymous Brave Guy (457657) | more than 10 years ago | (#7311540)

The cheap update deal expired at the end of September IIRC, at least here in the UK. It was being featured fairly prominently on the MS web site and doesn't appear to be there now, so presumably it's gone elsewhere as well.

Re:Code name (1)

wjsteele (255130) | more than 10 years ago | (#7311467)

Um... the upgrade from Visual Studio.NET to Visual Studio.NET 2003 was only $29.

Bill

Re:Code name (1)

cookd (72933) | more than 10 years ago | (#7311507)

In addition, I don't know where he comes up with "early next year." Everything I've heard up till now says that Visual Studio 2004 is coming "late next year." And I've been following it pretty closely.

Perhaps I missed something in the news, maybe about a new .Net SDK coming out separately from Visual Studio .Net 2004. But "early next year" is highly doubtful.

Article in a Nutshell (0, Troll)

Lord of haha (691304) | more than 10 years ago | (#7311306)

40 pages of why we know that we are better then you.

I think you can't spell. (0)

Anonymous Coward | more than 10 years ago | (#7311371)

And I'm right. Look at your sig.

BLARGH! I ATE THE PROM (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7311307)

ITS A FATTIE TRICK!

Who gives a shit about C# (-1, Troll)

PissingInTheWind (573929) | more than 10 years ago | (#7311308)

That language is even more vendor-tied than Java, and it's already bad enough there.

Re:Who gives a shit about C# (1)

henriksh (683138) | more than 10 years ago | (#7311354)

That language is even more vendor-tied than Java, and it's already bad enough there.

Agreed. Java is very proprietary, and no decent free version of it exists, since some of the internals are undocumented. This is the reason I no longer code in Java, although I love some things about language (interfaces, for instance, and the API is generally documented very good).

How is the situation with C#, can you use this in a free-as-in-rms environment?

Re:Who gives a shit about C# (4, Insightful)

Anonymous Coward | more than 10 years ago | (#7311382)

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.

Re:Who gives a shit about C# (0)

Anonymous Coward | more than 10 years ago | (#7311388)

Certainly not Boeing I can tell you that. The other major beast in Seattle area says no to .NET. Without a question, Boeing has taken sides and is a Java player.

moving towards bloatware or are these important? (2, Insightful)

Anonymous Coward | more than 10 years ago | (#7311309)

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?

Re:moving towards bloatware or are these important (2, Interesting)

wjsteele (255130) | more than 10 years ago | (#7311452)

You can already develop in C# for Office with Visual Studio Tools for Office.

Bill

First Post? (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7311310)

Normally I don't even bother, but since all of you so-called nerds are distracted by the World Series . I'm gunna keep it real.

fsck baseball! *Real* geeks prefer reading the new C# spec.

Bill And Melinda Gates - A Contractual Marriage (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7311311)

When, marriage ceased being a covenant or a solemn vow and became a
"contract." This rhetorical shift led us to see marriage as a
voluntary agreement between two adults. If marriage is a contract, then
the parties are free to negotiate the terms of their agreement, enforce
those terms, and terminate the agreement whenever they choose.

It's easy to see how this shift damaged the family. It not only opened
the door to "no-fault" divorce, but it has done the same for
cohabitation and same-sex unions. If marriage is simply a contract, then
it's impossible to limit the terms of that contract to one man and one
woman in a life-long committed relationship. Instead, anything goes.

There are other critical ways in which viewing marriage as a contract
hurts families. This view "undermines the basis of generosity and
self-giving" that is so essential to family life. On a construction
site, a welder can tell the foreman, "it's not my job," if he's asked to
do some carpentry. The same response by a husband to a request by his
wife is a sign of a dysfunctional marriage.

In other words, there are no job descriptions in marriage. Yet, this is
precisely where the "marriage as contract" rhetoric, and the worldview
it produces, is leading us. Instead of seeing marriage and family as a
joint effort lived out before God and the community, people see it as a
"deal." And, as with all deals, the name of the game is to make sure
that you get the best of the bargain.

This deceptive use of market language is almost as destructive for
marriage as it has been for the unborn and their mothers. In both cases,
it has provided people with a cover for acting selfishly without regard
for how their actions affect others.

Amy Ong

More things are wrought by prayer (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7311312)

More things are wrought by prayer than this world dreams of.

OpenOffice.org is your friend (0, Troll)

PissingInTheWind (573929) | more than 10 years ago | (#7311318)

For those who can't get that link because it is a .doc document (what a shame on /. front page), you can still use OpenOffice.org to read it.

C# still sucks...

Re:OpenOffice.org is your friend (0)

Anonymous Coward | more than 10 years ago | (#7311489)

So Java sucks too then I guess since C# and Java are very similar.

codename (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7311320)

Whiteboy? WTF?

Gay ass Microsoft.

Linking to a .doc file is evil (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7311324)

Linking to a .doc file is about as anti-/. as I can imagine. You suck shit.

follow the link (2, Funny)

buddydawgofdavis (578164) | more than 10 years ago | (#7311327)

Seems like a pretty limited spec.

All it says is:
Plugger: No approperiate application for type application/msword found!

whatever...

Re:follow the link (1)

damiam (409504) | more than 10 years ago | (#7311379)

Plugger is so 1997. Use mplayerplug-in [sourceforge.net] for multimedia and open other documents in their regular apps.

Does C# have continuations? (1)

ClarkEvans (102211) | more than 10 years ago | (#7311329)

ie, Ruby does; Perl/Python do not

Re:Does C# have continuations? (0, Flamebait)

OverlordQ (264228) | more than 10 years ago | (#7311347)

Oh boo hoo, the reason it's not in Perl is probably because there's a better/easier way :)

(Please note I have no clue what he means by continuations)

Re:Does C# have continuations? (0, Flamebait)

saden1 (581102) | more than 10 years ago | (#7311419)

He got you too? WTF is continuations? Exception handling?

Please speak American. We don't know what continuations are.

Re:Does C# have continuations? (4, Informative)

Tom7 (102298) | more than 10 years ago | (#7311458)

You should get out more. There's a world of programming paradigms most people have never heard of, because they're still stuck using C-alike block structured OO languages.

Continutions are, roughly speaking, a generalization of setjmp and longjmp in C. However, to have true "first-class" continuations they need to be objects that you can pass around, store in data structures, etc. In C this isn't true, because if you return from the stack frame that did the setjmp, the continuation is invalidated. Lisp has "call/cc", some implementations of ML have "calcc" (typed), and many scripting languages have it, because it's pretty easy to implement in an interpreted language.

Continuations can be used to implement exceptions, user-level thread packages, "early exits" from recursive code, and other cool stuff.

Re:Does C# have continuations? (0)

Anonymous Coward | more than 10 years ago | (#7311469)

The Stackless Python project describes continuations well.
http://www.stackless.com/spcpaper.htm

In short, Continuations are very useful for network programming; continuations and Threads logically attack the same problem: how to manage program state when you have more than one chain of execution. However, continuations make threading seem like a barbaric solution -- both inneficient and error prone.

Perl 6 will have continuations (3, Informative)

Anonymous Coward | more than 10 years ago | (#7311444)

Perl 6 will have continuations...

http://www.sidhe.org/~dan/blog/archives/000156.h tm l

Ruby Continuations (2, Informative)

Llywelyn (531070) | more than 10 years ago | (#7311401)

I'm still not sure why one would use continuations for well-designed code (kind of like labels in C++). I think the Ruby FAQ has the best statement on continuations.

-----
Ruby's continuations allow you to create an object representing a place in a Ruby program, and then return to that place at any time (even if it has apparently gone out of scope). Continuations can be used to implement complex control structures, but are typically more useful as ways of confusing people.

Re:Ruby Continuations (1)

saden1 (581102) | more than 10 years ago | (#7311433)

it's basically GOTOs....that is so 1970's.

Re:Ruby Continuations (1)

wjsteele (255130) | more than 10 years ago | (#7311436)

I don't know what Ruby is or what a Continuation is, but based on that defination, it sure sounds like some form of Function Pointer or Delegate to me.

C# Definetly has Delegates.

Bill

Re:Ruby Continuations (-1)

Genghis Troll (158585) | more than 10 years ago | (#7311475)

Seaside [beta4.com] , a "web application framework" written in Smalltalk uses continuations for things like backtracking. The resulting code is said by some to be cleaner and easier to understand than more conventional approaches. The author's blog [cincomsmalltalk.com] has some discussion on the matter. There's also a port of Seaside to Ruby called Borges [segment7.net] .

But yea, in general, it's hard to see what good call/cc is. It tends to be one of those features that people bring up in "language x vs y" flamewars, but never actually use in practice.

Trying to..? (0)

Anonymous Coward | more than 10 years ago | (#7311335)

Trying to capture some of the Perl 6 fanbase, I suppose, with the every-language-feature-ever thing?

Just as well that this will probably be out by the same time Perl 6 is..

That is to say 2010..

Iterators (1)

adrizk (137574) | more than 10 years ago | (#7311338)

Are they basically coroutines?
If so, that seems like a useful feature to have built in to a language.. I remember a while ago wishing that C/C++/Java had standard/nice ways of doing this..

Can someone who's more familiar with concurrent programming comment? (I haven't touched this kind of stuff in a while)

Re:Iterators (0)

Anonymous Coward | more than 10 years ago | (#7311397)

Uh, java has them already:

given ArrayList a

for(Iterator i = a.iterator(); i.hasNext();)
my Object o = (Object) i.next();
o.doStuff()
}

Unless i'm missing something.

More C++ (1)

schouwl (658811) | more than 10 years ago | (#7311341)

It looks to me at the first glance at the spec as if they took a lot more in from the C++ standard into C#.
The generic part is really just templates.
Lars Schouw

Re:More C++ (0)

Anonymous Coward | more than 10 years ago | (#7311474)

Guess again on the templates - C# gnerics are *not* code generation macros; they are fully type-safe runtime elements.

Version 7. (1, Insightful)

Anonymous Coward | more than 10 years ago | (#7311344)

Will be Lisp.

Sea Number/Sea Sharp (1, Funny)

Anonymous Coward | more than 10 years ago | (#7311359)

C sharp? Wouldn't this be the same thing as C with a plus? A C# is C + a semitone.

Me: "Hi, I Program in Sea Sharp!"
Pianist: "That piece was played in D sharp actually."

Ok, since I know they wouldn't name a programming language after a music note... It must be C Number

Doesn't C Number conflict? You're naming a specific letter but using the generic word Number. I mean, shouldn't it either be Letter Number, or C 8 or something? But C Number?

Me: "I program in Sea Number"
Someone: "... Sea Number what? 1? 2?"

Re:Sea Number/Sea Sharp (2, Funny)

saden1 (581102) | more than 10 years ago | (#7311450)

I like to think of it has C Pound.

Re:Sea Number/Sea Sharp (0)

Anonymous Coward | more than 10 years ago | (#7311485)

OK, this name stuff is boring!!

Why should I care? (1)

lurker412 (706164) | more than 10 years ago | (#7311360)

I have ignored C# since its inception. I would be interested in hearing from slashdotters who have used it. What's good about it and what's bad? Of course, I expect nothing less than purely objective replies...

Re:Why should I care? (0)

Anonymous Coward | more than 10 years ago | (#7311514)

I have ignored C# since its inception. I would be interested in hearing from slashdotters who have used it. What's good about it and what's bad? Of course, I expect nothing less than purely objective

Oh, this is simple.

The good is, that it works.

The bad is, that it is from Microsoft.

Anonymous Cowards Unite

Code Name (2, Insightful)

boatboy (549643) | more than 10 years ago | (#7311366)

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

Does adding every ingredient make it better? (1, Insightful)

Qzukk (229616) | more than 10 years ago | (#7311383)

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?

Re:Does adding every ingredient make it better? (1)

user no. 590291 (590291) | more than 10 years ago | (#7311398)

C#: The PL/I of the 21st century :).

Re:Does adding every ingredient make it better? (5, Insightful)

Tom7 (102298) | more than 10 years ago | (#7311415)

No, but consider the competition. C++ is insanely complicated and broken, and is popular. Perl is insanely broken and complicated, and it is popular.

Anyway, anonymous higher order functions and generics are two really glaring deficiencies in Java, C#, and many other modern OO languages, so adding them is a step in the right direction. It's not as if these are minor, useless features.

> 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?

That's crazy. Universities don't teach programming languages except as tools to teach more important concepts.

Re:Does adding every ingredient make it better? (0)

Anonymous Coward | more than 10 years ago | (#7311448)

Good universities, that is.

Re:Does adding every ingredient make it better? (1)

saden1 (581102) | more than 10 years ago | (#7311472)

C++ - C-- = broken C++?

Re:Does adding every ingredient make it better? (1)

Laser Lou (230648) | more than 10 years ago | (#7311532)

C++ - C-- = broken C++?

C++ - C-- == 0

Re:Does adding every ingredient make it better? (3, Insightful)

Qzukk (229616) | more than 10 years ago | (#7311516)

That's crazy. Universities don't teach programming languages except as tools to teach more important concepts.

Thats a great idea. Sounds great on paper, sounds great in theory. Sounds great while you're playing around with a bubble sort.

After that, its a load of crap.

Tell you what: You learn your bubble sort however you want. Your assignment is to write a program that uses a row colored spheres with numbers texture mapped to the surface of the sphere to demonstrate how the bubble sort actually operates.

I learned to do this at my university, and was lucky enough to get a professor that hadn't bought into the Windows Thing, and tought graphics programming with OpenGL (available everywhere) instead of DirectX (available in windows, and if you're lucky, wine).

In fact, when you get out of your pretty little university, you can try and get a job on "I know my programming theory". If you don't know the language and APIs that Company X is using, you're sunk. These days they don't settle for learning on the job. I had a wonderful job interview for developing an interesting application, I wowed them all with my knowledge, except for one little thing: I didn't know Perl/GTK which was what they were writing their application in. A few weeks later I got a check in the mail for my flight, car rental, and hotel and a thank you letter for taking the time to interview them in person.

Re:Does adding every ingredient make it better? (1)

Zebbers (134389) | more than 10 years ago | (#7311526)

That's crazy. Universities don't teach programming languages except as tools to teach more important concepts.

HAH

Re:Does adding every ingredient make it better? (1)

rixstep (611236) | more than 10 years ago | (#7311537)

I think you got something there, Mr Qzukk...

Re:Does adding every ingredient make it better? (3, Insightful)

yoshi_mon (172895) | more than 10 years ago | (#7311552)

C is a low level language and makes no bones about it being such.

Is such a high level language such as one that is designed to run upon other protocals the same?

No.

this is fantastic (-1, Troll)

Miguel de Icaza (660439) | more than 10 years ago | (#7311389)

i guess all the doubters will be quiet now, this proves Microsoft can be trusted with .NET after all. no more hidden APIs or secret protocols from the boys at Redmond - from here on its all public domain open standards. When will java get features like generics - no time soon i guess. Microsoft have once again proven themselves to be true innovters. (anyways back to frobnicating with file selector)

Re:this is fantastic (0)

Anonymous Coward | more than 10 years ago | (#7311427)

Eh?

Re:this is fantastic (0)

Anonymous Coward | more than 10 years ago | (#7311515)

java 1.5 will have generics and enumerator types. And the troll is not appreciated.

Re:this is fantastic (0, Flamebait)

technomancerX (86975) | more than 10 years ago | (#7311550)

I realize the parent is flamebait, but I can't resist.

Java already has generics, dumbass. They're in the 1.5 release, which is currently in beta (you know, as in a downloadable IMPLEMENTATION, as opposed to just on paper).

thats a lot of angle brackets (1)

deputydink (173771) | more than 10 years ago | (#7311396)

i'm about a third of the way through the doc and it made me realize how much i hate reading language specs.

That being said, the idea of "inference" of type arguments seems cool and usable, if not a bit abusable.
I don't know if its just me, but when did templates get cool again? I love templates in C++ and its interesting that java's introducing them and C# now is really focusing on them. That being said, i can't see a place where Partial types (where you can break a classes implementation into move than one class) could be really so usefull.

One thing i couldn't get over with C# is that its *so* much like C++, with all the syntax, keywords and such but with none of the speed. At work i'll use java to do simple stuff i could have done in C++ only cause java's just simpler. If java had the mass of features that C# has, i prolly wouldn't ever use them. but, then again, i'm a dba.

Re:thats a lot of angle brackets (0)

Anonymous Coward | more than 10 years ago | (#7311431)

type inference is 25+ years old. Hindley, Damas, Milner, and Girard are some relevant names.

Haha (1, Funny)

Anonymous Coward | more than 10 years ago | (#7311409)

All these fags whine because they can't open a .doc

Why C# doesn't Totally Suck (5, Interesting)

Pflipp (130638) | more than 10 years ago | (#7311457)

OK so I'm in the position of having to write an emergency support application for a M$-based system in a M$-based environment. Stuck in there. Completely. Been requested to make a maintainable, manageable solution. And yes, this is to say "make it for M$, with M$ tools as much as you can".

I guess even within these circumstances, I'd have refused to open Visual Studio for this project, if it didn't say ".NET" as well. I mean, think of it: previous versions of VS only supported C++ or VB, with APIs to cry for (admittedly, I don't know about MFC, only about Win32).

I actually happen to dislike C++, but on top of that, it doesn't suit my project, because the low-levelness makes it harder to program without errors (e.g. null pointers, memory leaking). I'd rather have a language at a scripting level -- and NO, that's NOT VB. I hope I don't have to explain why I hate VB if only on very first sight.

So with .NET, M$ introduced a quite nice API and Java language (come on, where are the real differences) into Visual Studio, which at least saved my day; I had found an acceptable programming environment for within Windows..!

There's really no need for anybody to pick on C#, long as it's realized that it's just finally a nice programming environment for Windows, and nothing (well, not much) more. (BTW, it's not much different from NeXT (now Apple)'s use/ takeover of Objective C.)

VB Programmers (1)

deputydink (173771) | more than 10 years ago | (#7311459)

Wow dude. That document is going to confuse the fuck out of all those Visual Basic programmers after Microsoft deprecates their language.


How is this deep level of generics gonna be realized in the Common Language Runtime? Or are these features just available in C#? And, if so, won't that break all the .NET libraries?

Oh how exciting! (1, Funny)

rixstep (611236) | more than 10 years ago | (#7311511)

This is so exciting! Microsoft with their own language! I can hardly get the words out. Strains of Eiffel and Ada! Wow! How wonderful!

Microsoft are continually at the pinnacle of innovation in our industry, as we all know. That they should donate yet another technological breakthrough is simply too amazing for words.

Now anyone who believes a word of the above can get on a one-way Trailways to Redmond. In such case, they need you there.

innovation (3, Insightful)

pizza_milkshake (580452) | more than 10 years ago | (#7311538)

wow, that will they think of next?
Load More Comments
Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>