English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I've never done programming in my life *blushes*,however am eager to learn one cos i'm interested.Out of all of them the above catch my eye.Have heard that Java is better than C as it simulates the real world more closely.Which should i learn?What about Java 2?does one need .net experience and Java experience to learn that?help!!

2007-01-10 01:02:05 · 7 answers · asked by Disciple of Cthulhu 2 in Computers & Internet Programming & Design

Dio Java is a compiler

2007-01-10 01:36:00 · update #1

7 answers

wtf? Java is a compiler? Java is referred to as the language, the java compiler is better known as javac and it comes in the jsdk or j2sdk.

Java is interpreted and so is .net, .net doesn't generate binary, it generates instructions that are run under the CLR, it's quite fast compared to vb 6 and asp. Php is also interpreted, of all the major languages are interpreted, the only ones that actually generate binary code are: C++, C and Delphi (Pascal). which one you want to learn is dependent on what you want to program, web pages, or os applications and on what platform. you program web pages and any os with a browser can access your app. Java is cross-platform to some sense, but when you want more specific funtions on a specific os, like the Windows Api, let's say, you loose that portability and have to deal with compiling for different operating systems, and besides it is quite slow, look at LimeWire, man what a drag. .net sticked very much to what an OOP language is and you can choose from VB, J#(Java syntax) and C# (C syntax), or even make your own language, it supports building web pages, windows apps (some porting for Linux has been done, checkout the Mono project) and a free express edition for windows apps in VB and C# and for building web apps full with web services and web pages, and yes, debugging too, distributed by Microsoft, in my experience better than any Java Ide, including Eclipse. if you want RIA's(Rich Internet Applications) check out Flex from Adobe (formerly Macromedia).

C++ is very low level and I wouldn't recommend it for building apps for an enterprise other than socket handling and very very low level instructions, unless you want to build your own Os. Lol
Feed your mind!!

Cheers

2007-01-10 09:12:11 · answer #1 · answered by Julio M 3 · 1 2

hey there!
choose any 1 after considering following factors coz final decision is yours :

a) All languages u mentioned follow almost same style of
programming (all support Object Oreinted Programming)
b) The hierarchy in terms of development is :C++->Java->VC#
C++ is still widely used. Java was influenced by C++ and C#
is Microsoft's extension of C++. (So normally C++ is the
starting language).
c) All the languages have almost,i repeat "almost" same syntax.
d) C++ and Java are platform independant(to a large extent).
e) C++ has implementation of pointers that is not directly
supported by the 2 other(it can be seen as advantageous as
well as disadvantageous)
f) VC# is extremely similar to Java syntax.

So i say C++ then Java then VC#( pattern normally followed
though many would disagree as well)
And yes Microsoft still recruits people who have strong C++ skills because believe it or not a large part of coding of most softwares is done with C++ and Java.

As for saying that Java has compiler :true but it is still interpreted as well!(java program is not entirely compiled but in fragments of
code)

Lastly decision is yours:think and decide.....

2007-01-10 13:03:47 · answer #2 · answered by AM 3 · 1 0

C# versus Java is more a discussion around open versus proprietary.

If you learn C# you will always be programing in the Microsoft world, Java will allow you to program to almost any platform.

I am not sure why previous poster suggested Java is slow as a reason to learn or not learn a language. The creator of TCL stated his language was the absolutely slowest thing every built. Plus if Java is slow because it is intepreted than C# must be as well, since it uses the exact same procedure to create bytecode for the CLR.

Lastly C++ is considered more of an assembly language these days, there are not any business systems being built in C++.

2007-01-10 09:26:59 · answer #3 · answered by anothersillypersonalsname 2 · 2 1

C# is .NET, so it is only good for that type of application. Java, quite honestly has its limitations plus it is slow (it is interpreted rather than compiled). I am not sure I would suggest C++ as a first language, but it is probably the best choice of those three.

The reason I say that is if you really are just starting out, you need to understand procedural constructs. C++ has all that, but it also throws OO at you. Makes it a bit more difficult to see the forest for the trees that way.

-Dio

2007-01-10 09:13:53 · answer #4 · answered by diogenese19348 6 · 0 2

This is all based on what you are going to do and personal preference. I would NOT suggest C++. It is the most difficult of the three. C# is probably the best. It is widely used in business environment, and its not too terribly difficult. Someone said that C++ does OO(Object Oriented), so its the way to go, but C# is OO as well. This is not really a question with a simple answer.

I would look at all three. Do some studying of their pros and cons, and then make a decision on what fits your situation best.

Good Luck.

2007-01-10 09:59:42 · answer #5 · answered by gdodd10 2 · 0 1

i would suggest learning c++ first

2007-01-10 09:08:59 · answer #6 · answered by tn5421 3 · 0 0

east or west
C++ is the best

2007-01-10 09:17:30 · answer #7 · answered by ? 4 · 0 0

fedest.com, questions and answers