• Welcome to Valhalla Legends Archive.
 

Opinions on C#

Started by Tuberload, May 12, 2003, 03:18 PM

Previous topic - Next topic

Tuberload

I was just wondering if any one has any worthwhile opinions on C#?  Is it a language worth learning?  From research I've done on it, it looks to be a good language.  I personally like Java, but I am also a fan of the .Net platform.  C# is Microsoft's equivalent of Java, correct?
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

Banana fanna fo fanna

I think it sucks.

Why?

1) No good free IDEs, cept Emacs.
2) .NET API is too big and hard to use
3) Javadoc > XML stupid crap
4) It's a cheap Java copy; why use a new language when you can use almost the same thing but with more support, tools, maturity, libraries, etc?

Tuberload

I personally do not like Java's Swing UI libraries.  One other question for you Storm; is there any IDE’s for Java that allow for drag and drop development of the UI?  I get so tired of writing the UI myself
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

Banana fanna fo fanna

JBuilder has one for Swing. Swing does suck btw, except on Mac.

Tuberload, if you like, we could design our own Java GUI designer...perhaps using SWT (www.eclipse.org) or wx4j (http://wx4j.sf.net).

K

I think you're wrong. ::)
Have you seen SharpDevelop? http://www.icsharpcode.net/OpenSource/SD/ not to mention that the command line compiler is free.
The .NET API is very easy to use; I spent a little time trying to think of something to demonstrate this fact, but I couldn't.  It's all just common sense. Not to mention that the entire .NET platform is extremely well documented. I suppose the java API is perfect if you like to box and unbox primitive types whenever you want to use them in a collection.
Microsoft is no slouch at pushing their technology; they know that pushing something underprepared and overhyped out the door isn't going to get them anywhere (they've done it before; look at J++).  To call the .NET platform immature is just laughable.

Banana fanna fo fanna

Why? Because it's been out for a few months and Java has been since 95?

K

well then COBOL .NET is a sure win!

Tuberload

Storm: I have not used any UI libraries besides AWT and Swing; give me some time to familiarize myself with one of the two you mentioned and yes that does sound like it could be a fun project.
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

Banana fanna fo fanna

Quote from: K on May 12, 2003, 04:20 PM
well then COBOL .NET is a sure win!

But C# looks exactly like Java and COBOL is completely different, but that's OK.

K

#9
Thats one of the major goals of the .NET platform.  It doesn't matter what language you're writing in.  I can write a library in COBOL.NET that can be referenced from C# or VB.NET or PASCAL.NET or any other .NET language without changing types or porting code.  C# "Looks just like java" because they both derive their syntax from c++. We can continue this later if you wish, I'm going out.

Banana fanna fo fanna

Sucks for the matenence programmers.

Yoni

C# is not a language. C# is a "syntax" or "flavor" for a language I call .NET.

There is really no difference, other than syntax, between the languages that feature the ".NET" suffix.

Btw, here are some numbers with measurement units written to the right of them:
msvcr70.dll = about 340kb
msvbvm60.dll = about 1.3mb
.NET framework = about 30mb

banditxx99

Sure c# and vb.net, etc compile down to the same common intermediate language.. but that doesn't mean c# is not a language itself.  And there are more differences besides syntax. As a quick example.. VB.NET is still weakly typed, as was vb6.  C# is strongly typed. You won't find such things as "Variant" in c#.

As for the size, yes, that's a huge hurdle at the moment.  But people will care less about the size of the framework as it starts being shipped with new windows installs.  However, MS initial push for .net was for web apps, as the framework doesn't need to be on the client machine in that case.

Yoni

#13
Quote from: banditxx99 on May 27, 2003, 10:15 AM
You won't find such things as "Variant" in c#.

*cough* Last time I checked, VB.NET was strongly typed, and there was no Variant in it.

Edit: Last time I checked was approximately a year ago, so I checked again now.
I was right: VB.NET doesn't have Variant. It does, however, have Object, which is the default type if no type specifier is, well, specified.
Your point still doesn't apply, though: Object exists in all .NET "languages", including C#.

Edit 2:
QuoteBut people will care less about the size of the framework as it starts being shipped with new windows installs.
Not everybody's rushing to buy the new Windows installs. Some WinNT 4.0 Server users are just now upgrading to Win2k. (Somewhat thankfully,) Win2k does not ship with .NET.

banditxx99

Well you are right... I assumed wrong about vb.net being weak typed.  There are more similarities than I gave it credit..   but there are some differences like case-sensitivity (perhaps you regard that as syntax), missing operators in vb (ex. <<, >>), operator overloading (vb can't overload operators), plus c# has less than half the keywords of vb.net.

As for some NT servers who have yet to migrate.. .. yup. I work in a GM facility where I'd say 90% of our servers are still NT 4. We are just now setting up AD and preparing to migrate clients. Servers may still be a long ways off though.