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 17:38

>>13
It has both. Chapters 1 and 2 are purely functional, and chapter 3 has objects made from closures.

Name: Anonymous 2010-03-22 17:45

>>13
Mostly functional. Lambda/closures can be considered fairly OO, but it's a bit different from objects in other OO languages, although you could use closures to emulate a full-on object system if you wish, albeit, if you were actually implementing a full-on object system, you might want to store objects in slightly more lightweight data containers(closures can be thought of as internally containg a function pointer and a vector of values and/or pointers. Making it more generic/lightweight would mean making it into a simple structure, without the function pointer, but if you wanted to do something like a funcallable object, you'd just end up back where you started: closures).

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