— can you explain what is object oriented programming compared to old fashioned procedural programming?

— sure. first of all you can develop an application without knowing how to write code. secondly you can develop in the graphical user interface environment. thirdly you can easily change or debug that code.

it turned out that object-oriented programming means that you can develop an application without knowing how to write code. according to this human, you cannot write an object oriented code without working in gui environment. and you cannot easily change or debug your code, if it’s not object oriented. never stop learning.

#programming #jan_lewis #object-oriented_programming #oop #procedural_programming #simple_explanation #explanation

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)

Using animals as an example (OO people love animals), define mammal and derive giraffe from mammal. Then define a member function mate, where animal mates with animal and returns an animal. Then you derive giraffe from animal and, of course, it has a function mate where giraffe mates with animal and returns an animal. It’s definitely not what you want. While mating may not be very important for C++ programmers, equality is.


#programming #oop #quote

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)

I’ve mentioned before in comp.lang.modula2, Oberon hasn’t a specific set of object-oriented techniques burnt into the language. Instead of this, Oberon provides you with all necessary features (namely type extension, type tests, procedure types and hidden record components) to adapt any interesting OO-technique. Surprisingly enough, the Oberon techniques in practise are much more powerful than common OO-models and OO-languages. As an example: C++ provides so many unnecessary features and so much more complex than Oberon but doesn’t provide type tests up to now.


#Oberon #oop #c #c++ #1993 #type-extention #type-tests #procedure-types #libc #usenet

բնօրինակ սփիւռքում(եւ մեկնաբանութիւննե՞ր)