Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007
Discussion 1 - David Figlar
This article compares various languages including Java, C++, Python, Visual Basic and Python. The author's credentials are acceptable. He's done much in the software industry and studied Computer and Information Science. The object-oriented programming vary from language to language. Eiffel, Smalltalk, and Ruby seem to have all of the characteristics of object-orientation: Encapsulation, inheritance, polymorphism, all pre-defined types are objects, all operations messages to objects, and all user-defined types are objects. They are pure object-oriented languages. Java and C# share the same traits only pre-defined types aren't objects and operations aren't messages to objects. Then there are also things lacking in C++, Python, Perl, and Visual Basic for them to quality as totally object-oriented. The only language without garbage collection is C++. Smalltalk, Ruby, Python, and Perl all use dynamic typing (robust and productive) while the others use static (reliability and efficiency). The only languages using method overloading were Java, C#, and C++. Smalltalk had single inheritance, no classes, protected data and public methods, no regular expressions, and no pointer arithmetic. I think that is rather convenient. Java, on the other hand, had multiple interfaces, no classes, public, protected, package, and private access, regular expressions, and no pointer arithmetic. C++ was more or less the same only it did have pointer arithmetic, multiple inheritance, no regular expressions, and different access control. It seeemed to me that the three true object-oriented languages were not necessarily better than the other languages, just different and higher level. They all have certain advantages and disadvantages. Not one is perfect for everything.
I read Scott Le's discussion and it involved the performance of the languages of C++, C#, and Java. The article I used actually didn't go into the efficiency (measured in time) of the languages which I found odd.
Programming Language Comparison
by Jason Voegele
Links to this Page