C++: Hybrid language - You can do both functional and Object oriented programming with it. It is a compiled language so it runs faster.
Java: Purely Object Oriented Language - Applications written in this language are Object Oriented and make use of OOP principles and design. Its a platform independent languages which means you can run a java app on any platform without having to modify the program. Java is however an interpreted language so it takes longer to run since there is no executable.
C#: Purely Object Oriented Languages - Draws from the best practices of C, C++ and Java. C# is compiled in a different way than C++ in the sense that it is compiled into an MSIL (Microsoft Intermediate Language) format which can then be run on any platform as long as you have the .NET framework running on it. C# is also strongly typed which means that you do not have the luxury of C++ where you can assign a decimal to a string without first converting it to the appropriate format.
Scripting languages - Are functional languages. They are mainly used to manipulate functionality on websites. Javascript is widely used in client side application. The scripting languages are however limited in the sense that they do not have the power of a full blown programming language.
How would you describe the differences between programming languages such as C++, Java, C# and Scripts.?
They're almost the same(/hard), but still they do different things..
Reply:i think it is the codes and the platforms that are developed and used to run each of these programs that makes them different...in other words they do the same things finally, but the way they are employed to do those things are different( like the codes, the operator symbols and the variables)
Reply:C++
A high-level programming language developed by Bjarne Stroustrup at Bell Labs. C++ adds object-oriented features to its predecessor, C. C++ is one of the most popular programming language for graphical applications, such as those that run in Windows and Macintosh environments.
Java
A high-level programming language developed by Sun Microsystems. Java was originally called OAK, and was designed for handheld devices and set-top boxes. Oak was unsuccessful so in 1995 Sun changed the name to Java and modified the language to take advantage of the burgeoning World Wide Web.
Java is an object-oriented language similar to C++, but simplified to eliminate language features that cause common programming errors. Java source code files (files with a .java extension) are compiled into a format called bytecode (files with a .class extension), which can then be executed by a Java interpreter. Compiled Java code can run on most computers because Java interpreters and runtime environments, known as Java Virtual Machines (VMs), exist for most operating systems, including UNIX, the Macintosh OS, and Windows. Bytecode can also be converted directly into machine language instructions by a just-in-time compiler (JIT).
Java is a general purpose programming language with a number of features that make the language well suited for use on the World Wide Web. Small Java applications are called Java applets and can be downloaded from a Web server and run on your computer by a Java-compatible Web browser, such as Netscape Navigator or Microsoft Internet Explorer.
C
A high-level programming language developed by Dennis Ritchie at Bell Labs in the mid 1970s. Although originally designed as a systems programming language, C has proved to be a powerful and flexible language that can be used for a variety of applications, from business programs to engineering. C is a particularly popular language for personal computer programmers because it is relatively small -- it requires less memory than other languages.
The first major program written in C was the UNIX operating system, and for many years C was considered to be inextricably linked with UNIX. Now, however, C is an important language independent of UNIX.
Although it is a high-level language, C is much closer to assembly language than are most other high-level languages. This closeness to the underlying machine language allows C programmers to write very efficient code. The low-level nature of C, however, can make the language difficult to use for some types of applications.
Reply:Well a scripting language ususally just deals with the redundant displaying of text, or processing of numbers, its not very flexiable and only really is made to display and manipulate text and numbers. Its no where near as flexiable and capable as a programming langauge. While with a programming lanagauge its focus is not so much on just the displaying and manipulation of text or numbers... it has a bigger view of things, its focus is more on creating complex programs.
Scripting langauges abilites are focused more on just altering and changing the look of data that is going to be displayed.
Programming langauges do the same thigns as scripting langauges but with not so much emphasis on the manipluation of text and numbers for display. Its focus is more on working with the data to do more complex things. like creating GUI's and what not.
If I just have confused the heck out of yah then read whats on these two links it should help clear things up.
Scripting language
http://en.wikipedia.org/wiki/Scripting_l...
Programming language
http://en.wikipedia.org/wiki/Programming...
Hope that help and good luck :-)
Reply:C++ the hardest - arguably the most flexible, Java great alternative but can be limited, C# (might as well do VB) similar to Java in difficulty but would NEVER recommend unless you like rebuilding your stuff every three years
Reply:Java is platform independant.
Compile once and run everywhere.
Much more reusablility. You dont want to have to write the same code over and over again.
-is the language of today and the future.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment