View Full Version : Why should I use java in programming instead of other programming language.?
Predator
06-09-2007, 12:28 AM
I'm a programming student and want to go into details with java and I want to know the pros and cons of java over the other programming language.
nolan_stallone
06-09-2007, 03:20 AM
Java is an object oriented language which is something you have to learn if you want to be a successful programmer. A lot of its concepts will tie in tightly with languages that you will mess with eventually or soon. Another advantage is that java is extremely portable and will run on just about anything. But youll notice that a lot of things in java are very similar to languages such as c++ and other languages that a lot of stuff gets programmed in. Some disadvantages to it is that its a little slower than say c. But still a useful language.
I don't know that much about it - I'm a programmers S/O, not a programmer.
However, I do listen in on a lot of conversations between my S/O and family/freinds who are programmers, many of whom programme in languages other than java.
Learning C# would seem the most sensible option, in my experience, there are alot more jobs and they are better paid.
Java jobs are harder to come by, and the programmers I've known have had little satisfaction from them.
Java is an adequate language definately, but with it having a simpler object model, it can be looked upon as 'easier'.
You could always study good ol' cobol.
Mark J
06-09-2007, 07:01 PM
There are no substantive reasons why you should learn JAVA over any other language. A lot of it comes down to academic prejudice, bigotry... or even just down to what the lecturer / course administrators prefer.
JAVA'a OO approach is fine and has many advantages...but there are other OO languages out there. The OO 'revolution' is great espcecially for application languages.
I think it depends what you are trying tolearn form you course... if itd a specific language then mebbe it has some uses... cant think of a vast number offhand. Many of the most flaky applications ve used have been written usuign JAVA... thats not a criticism necceasarily of JAVA.. but I do notice that changing the JAVA RTE can cause serious problemsw with applications... in some cases so serious that It makes the applicaiton unworkable.
The choice of JAVA itself probably has more to do with its origins in open source, and not wishing to tie people down to a specific manufacturers operating systems or developmenmt suite. Possibbly to think about application development in terms of a generic solutions rather than targetting a specific OS.
At the current state OO seems to be the way to go. However Im not convinced it is the panacea its proponents claim. ts doesn't sit too comfortably with RDMS's. It works but connecting to an RDMBS breaks some of the ideas and concepts behind OO develoments and /or vice versa. OODBMS are being developed.. but they seem even more of a dogs dinner.
Ive yet to see a JAVA hosted app that tightly and effectively integrates with a data backend... but hten most of the stuff I do are Management Information stuff... where we are providing gateways to the data, allowing the users to manipulate that data. The data is the key to the app... not a side show or determined by the app. We cant shift that data into other forms and we WONT duplicate or replicate that data unelss we need to.
anothersillypersonalsname
06-09-2007, 08:13 PM
You can choose a programming language for many reasons, but at the end of the day you will learn more than one language in your career if you are employed as a software developer.
The two leading languages today in the business world are Java and C#. Contrary to what another poster declared, Java did not start in the Open Source World. It was created by Sun engineers Bill Joy and James Gosling and was called Oak. It was originally designed to be a solution for set top cable boxes. It timing was perfect. As the internet was coming online, companies were looking for something more performant than PERL cgi scripts and Java was there.
With that much interest in enterprise development, lots of vendors jumped on board with tooling for Java. Now there is a significant amount of industry momentum around Java. It could change, but it would take a pretty significant event to make it happen quickly.
C# was designed by ex-Java engineers that worked for Microsoft. It has a lot of simliarities with Java in syntax and design, but only runs on the Microsoft platform.
There are many other languages but their use isn't really as widespread or employable.
When it comes to jobs, I have found no appreciable difference between C# and Java listings. The job market tends to be regional or local in nature.
JEREMY P
06-09-2007, 09:03 PM
Java is byte oriented and will run on any machine, it also has an inbuilt garbage collector so disables any memory leaks. However it is slow and would not be used as a language for embedded systems and doesn't perform as well as others in application programming.
For heavy duty mathematical problems and embedded systems and applications you would use C and C++...horses for courses!
shop360.co.uk
06-09-2007, 09:06 PM
I program in Java and C++. Javas "hidden" memory management makes Java a breeze compared to C++.
However Java is far from perfect. The JMV often means java makes slow sightly clunky desktop apps that never quite look the same as native apps.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.