So what's this new language about???
So what's this new language about???
(OP)
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS Contact USThanks. We have received your request and will respond promptly. Come Join Us!Are you a
Computer / IT professional? Join Tek-Tips Forums!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines |
So what's this new language about???
|
So what's this new language about???So what's this new language about???(OP)
Red Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts. Reply To This ThreadPosting in the Tek-Tips forums is a member-only feature.Click Here to join Tek-Tips and talk with other members! Already a Member? Login |
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
Register now while it's still free!
Already a member? Close this window and log in.
RE: So what's this new language about???
Hejlsberg:
First of all, C# is not a Java clone. In the design of C#, we looked at a lot of languages. We looked at C++, we looked at Java, at Modula 2, C, and we looked at Smalltalk. There are just so many languages that have the same core ideas that we're interested in, such as deep object-orientation, object-simplification, and so on.
One of the key differences between C# and these other languages, particularly Java, is that we tried to stay much closer to C++ in our design. C# borrows most of its operators, keywords, and statements directly from C++. We have also kept a number of language features that Java dropped. Why are there no enums in Java, for example? I mean, what's the rationale for cutting those? Enums are clearly a meaningful concept in C++. We've preserved enums in C# and made them type-safe as well. In C#, enums are not just integers. They're actually strongly typed value types that derive from System.Enum in the .NET base-class library. An enum of type "foo" is not interchangeable with an enum of type "bar" without a cast. I think that's an important difference. We've also preserved operator overloading and type conversions. Our whole structure for name spaces is much closer to C++.
Found at this site http://windows.oreilly.com/news/hejlsberg_0800.html
as 'Alt255' mentioned in another post
DougP, MCP
dposton@universal1.com
Ask me how Bar-codes can help you be more productive.
RE: So what's this new language about???
Microsoft's intentions are to take over the Java market with this new language, what scares me though is although they benefit by "borrowing" or implementing a feature similar to Java's Garbage handeling, they also "allow devellopers complete access to the underlying system" and in the same path of Java, users will need a C# Virtual machine, but it scares me that they take Java, they butcher it to be more developer friendly but at the same time much more insecure for users, like the access to underlying systems, and that kind of thing, it pretty much defeats the purpose on which java was created to serve.
I dont think I'll have a problem with ease, but I do belive there will be a problem with portability (how many people are actually going to want to intergrate C# VMs into their OS) and security (like ActiveX which didnt go too great even with digital signatures, having complete access to a user system is not my idea of fun)
So basically its my concerns for the users, more than it is for us Developers.
Karl
kb244@kb244.com
http://www.kb244.com
Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)
http://www.brainbench.com/transcript.jsp?pid=629151
RE: So what's this new language about???
I believe it to be an obvious rip-off of Java. .NET will be nice when/if it works... MS is notorious for being late to release. And notorious to release flawed software.
I have read a great deal on .NET and C#. It is in every way imitating JAVA. It may have some features JAVA lacks it may also lack features JAVA has. Java has 4+ year head start, and wide spread accpetance/support by the development community. That is a huge hill to climb.
I hope C# is all it is claiming to be... but I doubt it.
Pete
blindpete@mail.com
What your mother told you is true! You will go blind! (from moonshine anyway)
RE: So what's this new language about???
I'm not knocking M totally, because if people are buying the products, then obviously they are intuitive and work well enough for the main share of the market. I'm simply saying that if past product releases are at all indicitive of how C# is going to go, we've got a long time (even after it's "released" as stable) until it works well and reliably.
MWB
RE: So what's this new language about???
I believe that the fellow who said C# requires a virtual machine was mistaken. C# compiles just like VB or VC++, and if you're using ASP.NET the compilation is an automatic process. You just click "Save" and the dll materializes out of nowhere.
Secondly, no one is forced to use the underlying system functions. Java gives you super portability, C++ gives you full system control, C# gives you a choice.
My only gripe about C# now that I'm using it is that the documentation that MS put out with the beta release of the .NET SDK is the most erroneous litterature I've ever read.
I'm not trying to convince anyone that they *should* use C#, but I think you might like it if you give it a fair shot.
I've never liked Java too much, I think C# is a much easier environment to develop with. But, that's just me.
RE: So what's this new language about???
Pete
blindpete@mail.com
What your mother told you is true! You will go blind! (from moonshine anyway)
RE: So what's this new language about???
QUOTE:
"Visual Studio .Net testers did note that, unlike Java, C# is not cross-platform, and currently supports the development of applications based on Windows and .Net only. "
You can read the entire artical at:
http://www.zdnet.com/zdnn/stories/news/0,4586,2663053,00.html
-Pete
RE: So what's this new language about???
Karl
kb244@kb244.com
http://www.kb244.com
Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)
http://www.brainbench.com/transcript.jsp?pid=629151
RE: So what's this new language about???
Think about it, how may software systems has Microsoft released that have worked well on the first (second or third in some cases) try? How long has Java been around? Microsoft is trying to introduce a new language that will be buggy and unreliable into a market and directly compete with Java, which has been around for several years (a long time) and has been proven. How will they make it work? Who is going to switch to it?
Just a thought...
As always, I hope that helped!
Disclaimer:
Beware: Studies have shown that research causes cancer in lab rats.
RE: So what's this new language about???
-Pete
RE: So what's this new language about???
It seems to me that LobsterGun is the only one in this thread that has a handle on the .NET C# picture to any degree of accuracy. This is not a flame on the rest of your posts so please don't take it that way. Also I am NOT trying to talk anyone into 'liking' or using C#, why would I care if you like it or use it.
I would point out that there is an abundance of articles available (many in MSDN Magazine) that might help clear up the .NET C# VB.NET ASP.NET etc. issues if you care to read them. I think the 2 part Article by Jeffery Richter was good and might be available at msdn.microsoft.com
Some of the articles also discuss MS's expectations for the CLR (Common Language Runtime) to be adopted and developed for other OS's. There is even mention of Corel developing one for Linux. This is all highly speculative so keep your feet grounded when you read predictions and rumors like this. However it could happen.
Then off the subject: BlindPete said this:
> I know of nothing that competes with the pure power and capability of C++.
You just gotta love those Petes
As always...
"But, that's just my opinion... I could be wrong".
-pete
RE: So what's this new language about???
Karl
kb244@kb244.com
http://www.kb244.com
Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)
http://www.brainbench.com/transcript.jsp?pid=629151
RE: So what's this new language about???
Rgds,
Sudha
Visit www.ssudhakar.com to know more about my achievements
RE: So what's this new language about???
Karl
kb244@kb244.com
http://www.kb244.com
Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, HTML/Dhtml, Visual InterDev 6(ASP/WebProgramming/Vbscript)
http://www.brainbench.com/transcript.jsp?pid=629151
RE: So what's this new language about???
> why C# is said to be a competitor for JAVA when it is not platform
> independent!! JAVA's prime advantage and acceptance is dueto
> this fact that it is platform independent.
Java is NOT platform independent. Java Virtual Machines can be developed (in theory) for any platform thus providing an assortment of platforms that are available to host Java. Does this even make your code independant of each VM? Well I won't even get into that issue.
> SO I dont see C# competing
> with JAVA in any way.
C# runs in the CLR in the same fashion that Java runs in the VM. Since CLR's can be developed (in theory) for any platform, this provides the connection for people to claim that the language is a competitor for Java.
Please note that I am not agreeing nor disagreeing with the statement in question. I am only attempting to clarify the issue. Personally I don't really care if it is a competitor or not. It is just another variation of a C++ style language in the same way that Java is.
"But, that's just my opinion... I could be wrong".
-pete
RE: So what's this new language about???
www.csharpindex.com
This site is devoted to csharp, has forums, tools, advice and links to anything you would need to get started.
-Pete
RE: So what's this new language about???
So I guess if you are interested in developing on windows it's a good lang, but is it really all that better than good old c++?
Tony