Question:
why different types of programming languages have been developed?
manu
2010-05-27 05:02:08 UTC
need help
Five answers:
Arch
2010-05-27 05:35:44 UTC
Why is there more than one kind of car? Or more than one type of television set?



Each programming language has different strengths and weaknesses.



Java is great at implementing OOP solutions. It also has the advantage of creating applications that are easily portable from one platform to another. But using SQL to read a database in Java requires one to jump through some hoops. Also, it doesn't generate true executable files, so Java apps require a run-time engine in order to run.



On the other hand Oracle's PL/SQL language (which is not just SQL but full-blown procedural language) is designed around interaction with the database and is much better suited for working with data in an Oracle database. One needs no "connection strings" or JDBC or ODBC or top-link or anything else to work with the database from PL/SQL. However, it needs additional tools such as Oracle Forms or the OWA (Oracle Web Application) toolkit before it can create GUI interfaces, And, of course, it is Oracle Proprietary and you just can't get it without getting the Oracle Database. Also, it doesn't create true executables so what you write needs the Oracle PL/SQL engine to run.



C++ meanwhile does generate true machine-language executable files and thus need no run-time engine. Also, the executable code often executes faster than the byte-code created by Java, though Java's technology has been refined to the point where the differences in speed are far less than they once were. However, this means that if you want to run your application on a different platform, you have to find the appropriate compiler and re-compile your program. And often differences in platforms make it necessary to adjust your code. Connecting to databases with SQL also requires some hoop-jumping like in Java.



Frankly, if you're writing a batch program that processes data in sequential files arranges in fixed-length fields, then COBOL still has certain advantages that no other language can beat even today. Also, COBOL may be the easiest language on the planet to learn. However, if you want to build a GUI in it .... well, some modern versions have extensions for doing it, but the language wasn't really designed for that.



There are people who still prefer FORTRAN for writing code that's heavy on doing scientific calculations. It was designed specifically for precise mathematical calculations for scientific research and engineering.



Each language has it's advantages and disadvantages. No one language is best at everything. That's why we have so many different languages. Each language was written to serve slightly different purposes.
anonymous
2010-05-27 05:08:51 UTC
Because there were some limitations in languages like c there was security problem and no concept of OOPS and it hard to do coding for the web development.



Thats the reason new languages come having enhancement in the concepts which ease the developer for programming..
Frecklefoot
2010-05-27 05:38:51 UTC
Chiefly they're developed to ease the burden on the programmer. Assembly is much easier to understand than machine language. C is much easier (conceptually) to understand than assembly. C++ allows greater abstraction (and is thus easier) than C. Java frees the programmer of the burden of freeing memory and forces OO methodologies (whereas C++ just allows OO, it doesn't enforce it). It's also platform independent.



Secondly, they're developed to accomplish different things. PHP is great for web pages with dynamic content, but sucks for games. C++ is great for games, but sucks for platform independence. C++ compiles to binary (directly executable) code, Java compiles to pseudo-code (byte code) which is executed by a JVM. C# is similar. It doesn't run as fast as native code, but it's very platform independent.



Got that? They were developed for two reasons: (1) to ease the burden on the developer and (2) to do different things. HTH
RadiantSmile
2010-05-27 05:08:41 UTC
It's Simple, there is no boundries for developments not only in the programming languages but also for any field like technology, engineering, education, products. People are having own creavity and they wanna share it with other people.... That is great we are having different programming languages.
anonymous
2010-05-27 05:15:46 UTC
If you learn c, c++, c# than any language you can understand. Different programming languages are developed for different plateforms.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...