Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I learned C# at school and the only language that I knew was Delphi and VB6 so I didn't notice many thing... but I was currently looking at Java from Sun and... damn... is it me or it is nearly identical ?

 

Does Microsoft has copied everything from them ?

It don't make me laught at all when I see people copying work of other... but... those two language are nearly BOTH IDENTIC !

 

Comment will be welcome and really appreciated.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

Probobly has to do with the lawsuit Sun (Java's creators) filed against Microsoft a few years back because they were taking Java in a direction that Sun didn't want. I wonder what happened to that Java work? Probobly became C#.

 

Anyways, C# is designed to be java friendly. It's supposed to be fairly comfortable for both C++ and Java people to cross over with.

 

Now, I don't know what role J# plays in this if C# is so close to java...

Posted

Welll... I checked the language basics(Java) at Sun's web site.

http://java.sun.com/docs/books/tutorial/java/

 

And it showed me a few example... and... damn... it look like C# code. Some body have more info or more comments ?

 

Everything is welcome.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

Before C# even existed, I know that Java and C++ had extremely similar syntax. I'm not sure exactly what the connection is, but Java, Javascript, C, and C++ are somehow related.

 

I'm sure that C# is just based off of C++. So, I don't think that it's the case that Microsoft is copying Sun. They're just modifying and improving on a language that is already very similar to Java.

 

Anyone know more about this?

Posted

supposedly,

 

It is more related to delphi:

 

http://www.c-sharpcorner.com/Articles/CAndOtherLanguagesJG.asp

 

C# builds on alot of things that Delphi Pioneered.

Joe Mamma

Amendment 4: The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no warrants shall issue, but upon probable cause, supported by oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized.

Amendment 9: The enumeration in the Constitution, of certain rights, shall not be construed to deny or disparage others retained by the people.

Posted
Probobly has to do with the lawsuit Sun (Java's creators) filed against Microsoft a few years back because they were taking Java in a direction that Sun didn't want. I wonder what happened to that Java work? Probobly became C#.

 

Anyways, C# is designed to be java friendly. It's supposed to be fairly comfortable for both C++ and Java people to cross over with.

 

Now, I don't know what role J# plays in this if C# is so close to java...

 

J# is the one Java tool that MS has provided for the .NET environment. It is meant more than anything to provide a bridge to those who were using the MS J++ language (their version of Java) a way to get into the .NET arena.

 

Both Java and C# improve upon the C++ language by taking away the hassles of keeping up with such things as pointers, which if you did not do properly in C++ then your program spang memory leaks and became one of those applications that would eventually bogg a machine down and force a re-boot if you ran it long enough.

 

I never worked with C++, just did limited work with C some years ago. If any of you have dabbled in these languages then you can appreciate the improvements Java and C# offer by having string classes rather than having to define arrays of characters to handle strings.

 

While in syntax Java and C# might be similiar, the emphasis on .NET is somewhat different. MS is providing the ability for any language that is CLI compliant to be able to run code alongside code written in other CLI compliant languages. I don't really know how big of a sales point this will be to people, but I do take heart somewhat in knowing that I as a developer can create libraries using C# and they can be used by coders who prefer to work in VB.NET. This allows me to focus on what I want to use, what I like to use, and it still be useable by those who prefer a different language.

 

Hope this helps out.

Ira Richard Smith

IraRichardSmith.Net

  • *Gurus*
Posted
All modern programming languages borrow from each other. It's impossible to do otherwise - good techniques and best practices extend beyond the syntax of the language you're using to whatever OO framework you use with it. Similarities are inevitable.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Posted

Well... seen like this...

 

Well... similarities shall not make ourself angry... they smooth the learning curves :p

 

Thank you divil for this little comment.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted
Java by Sun is awesome or at least was a few years back because it was so univeral on systems ranging from PC's to hand held devices. VB.net at least as far as I know isnt portable to hand helds yet. and when i say hand helds i mean not only pda's but like instruments that Pespi, Frito-lay use for routes etc.. this kind of equip java is awesome at. Cheaper also :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...