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

oh look, another 1337LEETH4CK3RTH34D

Name: Anonymous 2010-03-22 7:04

HOW I HACK WIFE?!?!!!11
haha, just kidding.
i'm trying to get into programming, but i can't find many good guides for complete beginners such as myself. (using Python, heard it was relatively easy)
what is a good (and fun) tutorial to start learning to use Python?

Name: Anonymous 2010-03-22 18:44

>>17
They can be used to represent objects, but they are general constructs, so when you use them, you just think of them as a function object most of the time. Of course they can also be used to implement full-on object systems, if that's what you want, but I think of them as more general things, like in C, you can use structures to represent objects, but that doesn't make structures themselves OO unless you use them in an OO context. You could make networks of closures to represent inheritance, or you could add a virtual method table to a structure to implement single-dispatch object systems in C, but those are just one of their many uses.

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