Citat:
sspasic:
I u C-u, naravno, mogu da postoje objekti i virtuelne funkcije i enkapsulacija i polimorfizam i sva ostala OO cuda (mogu i u asembleru, ako hocete) samo sto ih nema u sintaksi jezika.
http://www.ul.ie/~flanagan/ee6721/intro-ood/intro_oo.html
"OOD is not tied to a specific language, it is possible (and good coding practice) to write ADTs in any language:
Assembler
Very difficult, no data hiding or abstraction provided by the underlying ``language'', so everything depends on the programmer's discipline.
Pascal
Difficult, standard Pascal requires that the entire program be placed in a single source file and doesn't provide any mechanisms for data hiding.
Modula-2
Excellent as an implementation language for ADTs. This is not surprising as Modula-2 was specifically designed for this task.
C
Quite good. ADTs may be implemented using multiple source files. Separating ADT implementation code into individual source files allows data hiding. Header files need to be used to communicate information which should not be hidden, such as function prototypes.
C++
Excellent for ADTs. Also supports Inheritance .
"