N
notnorwegian
i have some confusion over this.
sure a class is basically a classification, like for example an animal
or flower. and an object/instance of that class is then for example a
cat.
an object is an instance of a class. that i know, i also know how to
program with classes etc.
i am just confused about the term object-oriented.
wouldnt class-oriented be more fitting? at least for java since what
you do is divide everything into classes.
in python i dont or at leats not as much.
does object-oriented refer to that everything(strings, ints etc) are
all objects? so there is a class string somewhere in the
implementation rather than a primitive or somehing?
are python functions objects?
can a functional language be object-oriented or an objectoriented
language be functional?
one definition of OO is a language that passes messages between
objects. but not necessarily that is has to pass message sbetween
classes?
sure a class is basically a classification, like for example an animal
or flower. and an object/instance of that class is then for example a
cat.
an object is an instance of a class. that i know, i also know how to
program with classes etc.
i am just confused about the term object-oriented.
wouldnt class-oriented be more fitting? at least for java since what
you do is divide everything into classes.
in python i dont or at leats not as much.
does object-oriented refer to that everything(strings, ints etc) are
all objects? so there is a class string somewhere in the
implementation rather than a primitive or somehing?
are python functions objects?
can a functional language be object-oriented or an objectoriented
language be functional?
one definition of OO is a language that passes messages between
objects. but not necessarily that is has to pass message sbetween
classes?