|
Not a citation, but...
When I first read the C# spec in 1999, someone asked me, "isn't that just Microsoft Java?"
|
|
|
|
|
I think everyone thought that at the time..
C Sharp (programming language) - Wikipedia
Quote: James Gosling, who created the Java programming language in 1994, and Bill Joy, a co-founder of Sun Microsystems, the originator of Java, called C# an "imitation" of Java; Gosling further said that "[C# is] sort of Java with reliability, productivity and security deleted."[17][18] Klaus Kreft and Angelika Langer (authors of a C++ streams book) stated in a blog post that "Java and C# are almost identical programming languages.
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
That's what I meant. When they did not want the licenses for J anymore and replaced it with C#, everyone claimed that C# was just a Java clone, totally ignoring that there were plenty of things that went further from the beginning (no primitive data types, a common CLR across .Net languages, properties for objects...)
|
|
|
|
|
CodeWraith wrote: When they did not want the licenses for J anymore
Errr...after a long trial MS agreed not to do java anymore. If they didn't want it then they wouldn't have fought so long to keep it.
CodeWraith wrote: that went further from the beginning (no primitive data types, a common CLR across
Can't imagine that that wouldn't be required to avoid more legal trouble. For example look at java on the Android and the Oracle suit about that. The technology itself just encapsulates the business need, but the business need required that it be different.
|
|
|
|
|
If they didn't want it then they wouldn't have fought so long to keep it.
Not a reasonable conclusion. On more than one occasion Microsoft has engaged in litigation to slow down the opposition, deplete their resources and demoralise them.
Microsoft did this to Sybase while Microsoft Access was being prepared, and was caught very much on the back foot when it unexpectedly won the rights to the source code for SQL Server.
PeterW
If you can spell and use correct grammar for your compiler, what makes you think I will tolerate less?
|
|
|
|
|
It was. I think the book author is misinformed. Unfortunately people assume that just because something is printed its always correct.
Jeremy Falcon
|
|
|
|
|
Slacker007 wrote: C# was modeled mostly after Java and C++ Says you.
Here is another quote from a few pages later: Quote: Because C# is a hybrid of numerous languages, the result is a product that is as syntactically clean (if not cleaner) as Java, is about as simple as VB, and provides just about as much power and flexibility as C + +.
TROELSEN, ANDREW; Japikse, Philip. C# 6.0 and the .NET 4.6 Framework (Kindle Locations 3129-3131). Apress. Kindle Edition.
And
Quote: For example, like VB, C# supports the notion of class properties (as opposed to traditional getter and setter methods) and optional parameters.
TROELSEN, ANDREW; Japikse, Philip. C# 6.0 and the .NET 4.6 Framework (Kindle Locations 3124-3125). Apress. Kindle Edition.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Medical fact - quitting VB now will greatly increase your lifespan. No citations needed.
|
|
|
|
|
Medical fact:
Case sensitive languages that also require semicolons at the end of every line and do not know the difference between a functions and a property unless you add () to the end of a parameter-less function drives you crazy within hours.
But seriously.
I do not understand the rant against *any* language.
Especially when it comes to VB.net and C#; they are almost the same languages.
See: C# and VB.NET Comparison Cheat Sheet: ASP Alliance[^]
I think people can build crappy software and good software in any language.
modified 3-Aug-17 5:25am.
|
|
|
|
|
I really don't like those feature-vs-feature, mechanism-vs-mechanism, xxyzzy-vs-xyzzy style of comparisons. Looking at each single feature / mechanism / xyzzy in isolation tends to hide their intended use, or established use. It reveals nothing about the "ecosystem" around the language. It allows a Fortran programmer to program Fortran in any language, arguing that (s)he is just using the mechanism provided by the language in a perfectly correct way.
Reducing the differences between two languages to mere syntax details can actually be very misleading.
|
|
|
|
|
Guilty. I once dropped the guts of a Fortran program into C#. Worked pretty good. Easier than building an interface in Fortran.
|
|
|
|
|
I once worked on a machine whose operating system was written in Fortran!
Rumours are that when Nic Wirth were developing the very first Pascal compiler, they started out writing a bootstrap in Fortran. Or, they tried, before realizing that it was easier do do it in assembly code.
Another sidetrack: I also worked a littel in a language whose compiler was written in itself, but without using a bootstrap. The compiler author (and language designer) wrote the compiler code "offline", and line-by-line mentally translated the code line into the machine instructions he knew that the compiler would have generated, typing the assebly instructions into the machine and assembled it. You could say that is having a bootstrap in assembly, but it wasn't a simple bootstrap - it was the complete compiler.
|
|
|
|
|
Kind of amazing, really. Whatever works! Sounds like you've been rustling bytes for quite some time.
|
|
|
|
|
For example macros in C/C++. You can find examples, even apparently people that claimed it was a good idea, that did things like define 'BEGIN'/'END' as '{'/'}' so that it looked like a different language.
|
|
|
|
|
Having properties doesn't mean anything. Other languages have properties. Doesn't mean they're the basis for some other language
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Unfortunately, people assume that just because something is printed it's truth. I don't think the book author was properly informed or else we're just not hearing the whole story from the book. C# has more Java roots than VB roots.
Jeremy Falcon
|
|
|
|
|
I don't think the book author is properly informed. Just because its printed material doesn't make it accurate.
C# has a lot of Java roots.[^]
Jeremy Falcon
|
|
|
|
|
C# is a dialect for the VB7 runtime, known as .NET.
It's basicly just basic with some updated syntax, a new name and some marketing.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: VB7 runtime, known as .NET.
Sorry, I can't find anything to support this statement. Care to share a link or two. Thanks.
|
|
|
|
|
No, I don't care
There was this quote saying "we needed another curly braces language" at the introduction of C#, which coincided with the release of the renamed VB7. VB6 already introduced compiling to P-code, a runtime/framework that needed be installed.
Also take into account that C# code can be automatically translated (search & replace-kind of simple) to VB. C# is nothing more than a cleaned up VB6.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
Well - maybe because: what was Java modeled after ?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Well, Java was based off C++ so there's that too.
|
|
|
|
|
|
Agreed. I heard through the grapevine that MS even hired some top Java guys to help design C#. Never heard of the VB thing. Methinks its the author's wishful thinking.
Jeremy Falcon
|
|
|
|