C# is independent of the new .NET framework, but at the same time was designed with it in mind.
.NET is a platform-independent (only the various flavors of Windows, unless MS is generous and allows development of the .NET framework for other OS's), language-independent target for writing programs. (Similar to the Java Virtual Machine, except the JVM is restricted to Java) This in and of itself is neat enough for me to learn some C# and try it out. .NET is completely language independent. You can write a C# class that inherits from a C++ class, which uses VB code for some of its methods. All of this Additionally, C# has many "cool" features that will let you create workable, aesthetic-looking Windows programs __FAST__. That's the keyword here, MS bills C# as a rapid application development language. You need to write a Half-Life model viewer, use C#, you need to write Half Life, use C++. As a programmer, I support platform-independent writing. Nothing's nicer then a clean bit of C code that will compile with the standard headers not only on Unix-based OS's but also Windows. However, the harsh reality is that 97% (conservative) of desktop users (for which games are targeted) are running Windows. I'll take writing a program in a day with C# and having it run for 97% of my audience then 2 weeks writing it so the 3 Linux gamers (or none in the case of HL, WINE aside) can enjoy it. david -----Original Message----- From: Tom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] What is C# (was : Argh!) if its ms' version of java, does that mean u can embed it into web pages? So far all ive been able do do is html parsing (stuff like u do with php/asp). Or are you just saying that its not "compiled" simply run by the framework? (like java is) ----- Original Message ----- From: "Nicolai Haehnle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2002 2:47 PM Subject: Re: [hlcoders] What is C# (was : Argh!) > Am Mittwoch, 27. Februar 2002 14:09 schrieb _Phantom_: > > btw, I'm not a M$ fan, however it does seam alot of C# bashing happens just > > because M$ made it, C# from what I've read does have a fair amout going for > > it, not least of which is making windows coding easier by hiding the Win32 > > API more. Granted it might not be of much/any use to game programmers, but > > it still deserves it's shot... > > > > </rant> :D > > (note that much of this isn't actually a reply to Phantom_, but a summary of > replies to various postings etc..) > > Experience tells me that Microsoft is _very_ bad at coming up with good APIs. > Just think all the COM mess out there, DirectX is especially bad, MSHTML > (which I recently had to fight against) is just plain evil. MFC isn't good > either, especially compared with such beauties as Qt. > > I've looked at the specs of C#, and boy this is madness. C# is like C++, but > with three times as many keywords. It looks like most of the code actually > consists of keywords, as opposed to C / C++. The relative sparsity of > keywords is one of the things I love about C. > Quite surprisingly though - considering that C# is a Microsoft product - all > the keywords are lower case (don't you all love LPDIRECTDRAWSURFACE7 etc... - > note that there are lots worse). > > C# has some difficulties right at the foundation, e.g. that the language is > just plain illogical. The program entry point is a main() function (or > rather, method). But since there are no global functions in C#, it simply > picks one main() functions out of one class (and complains if there are > several main methods IIRC). > > The language will be used, that much is obvious. But I'm pretty sure that the > reason for its acceptance will be Microsoft's marketing prowess rather than > the language's benefits - after all, the language is mainly an attempt to fix > all bad design decisions we've seen in the past. > > Oh, and I can prove the statement that marketing prowess is all that counts. > I've seen polls on the net where about 36% of the participants already used > Windows XP, even though there's no sensible reason at all to upgrade from an > existing system to it. > > Anyway, as long as open software exists, we're going to remain free, if we > choose to do so. If you want to bitch about something, bitch about software > patents. > > cu, > Prefect > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

