Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I have a simple question

Name: Anonymous 2011-07-30 0:38

What is "class" in OOP? How does it relaters to reality? How to use it?

Name: Anonymous 2011-07-30 0:42

What is "class"
A synonym for "Set". A complicated mathematical metaphor, akin to "God" of abrahamic religions.

How does it relaters to reality? How to use it?
In mathematics you don't understand things. You just get used to them. -- John von Neumann, famous jewish mathematician

Name: Anonymous 2011-07-30 1:34

Classes help you define a hierarchy amongst your objects, and they show what kind of role each object will occupy and what tasks it performs.

For instance, you can define your view class like this:
  class  CarController :Bourgeoisie {
...
}
,
and your model class like this:
  class  CarModel :Proletariat {
...
}

To show that CarControllers use and exploit the CarModels without producing anything themselves.

We can also define:
  class  CarView :Aristocracy {
...
}
,
which signifies that the CarViews live large on the backs of both the CarControllers and CarModels while they stand and watch them do the real work, by privilege of birth.  Incidentally, the CarViews will be the first against the wall when the revolution comes.

Name: Anonymous 2011-07-30 2:02

>>3
Classes help you define a hierarchy amongst your objects
What is "hierarchy amongst objects"? Why should I want to define one?

What are these CarController/CarView/CarModel? Is it like cons cells' car?

Name: Anonymous 2011-07-30 2:06

What is "hierarchy amongst objects"
Is it like (cons (cons object-a object-b) object-c)?

Name: Anonymous 2011-07-30 6:39

>>3
A+++ post would read again

Name: Anonymous 2011-07-30 7:44

how do you use it?

#include <ooc/lang/NullPointerException.h>

int main(void) {
  throw(new(NullPointerException()));
}

Name: Anonymous 2011-07-30 7:51

>>1
Hello, ``in Lisp'' jew.

Name: Anonymous 2011-07-30 10:37

>>7
Go back to your Java gay club. You aren't welcome at the same table as the C++ crew.

Name: Anonymous 2011-07-30 12:34

>>3
That is the dumbest thing I've ever read. Go back to hourly job you mental midget.

Name: Anonymous 2011-07-30 12:38

>>10
FuCK oFf COMmuNiST C pRogRAMmeR

Name: Anonymous 2011-07-30 14:20

Bump for an answer.

Name: Anonymous 2011-07-30 14:22

how do class work

Name: Anonymous 2011-07-30 14:34

>>13
I know how it works (can read compiler sources).
I don't how to use it.

Name: Anonymous 2011-07-30 14:49

>>14
Remember that an object is a poor man's closure.

Name: Anonymous 2011-07-30 14:49

>>9

It's C.

Name: Anonymous 2011-07-30 14:55

>>16

It's OOC.

Name: Anonymous 2011-07-30 15:00

>>3
I agreed with your post until I saw that you do not insert a whitespace character between the semi-colon and the corresponding social class which is (I have absolutely no other word for it) terrible. One would think that such a small detail can't make a difference but believe me when I say that it may make quite a huge difference, where I once would stand with you at the breach and fight and die alongside you like my brother come the revolution I will now seek you out and attempt to murder you instead. People think notation doesn't matter, people are wrong, people think of me as some crazy man that focuses to much on the written words of old, they don't know, notation is a matter of life and death.

motherfucker

Name: Anonymous 2011-07-30 16:21

>>18
U MENA COLON

But I like your style, sir.

Name: Anonymous 2011-07-30 16:56

>>19
You are absolutely correct, I am woefully ashamed, that is all.

Name: Anonymous 2011-07-30 17:20

>>18
It is a provocative allusion to the way the oppressive class system is raping the cola of all of us.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List