uggedal + architecture 87
The History of Python: Adding Support for User-defined Classes
february 2009 by uggedal
Instead, I decided to give up on the idea of implicit references to instance variables. Languages like C++ let you write this->foo to explicitly reference the instance variable foo (in case there’s a separate local variable foo). Thus, I decided to make such explicit references the only way to reference instance variables. In addition, I decided that rather than making the current object ("this") a special keyword, I would simply make "this" (or its equivalent) the first named argument to a method. Instance variables would just always be referenced as attributes of that argument.
python
language
design
architecture
oop
object
class
explicit
self
february 2009 by uggedal
related tags
3tier ⊕ ajax ⊕ apartment ⊕ api ⊕ appengine ⊕ arc ⊕ architecture ⊖ assembly ⊕ asynchronous ⊕ authentication ⊕ availability ⊕ aws ⊕ backbone ⊕ bandwidth ⊕ bigtable ⊕ c ⊕ cache ⊕ caching ⊕ cap ⊕ cassandra ⊕ class ⊕ client ⊕ clientside ⊕ clojure ⊕ cloud ⊕ code ⊕ coding ⊕ compact ⊕ complexity ⊕ compression ⊕ computer ⊕ computing ⊕ concurrency ⊕ consensus ⊕ consistency ⊕ continuations ⊕ cookies ⊕ couchapp ⊕ couchdb ⊕ cpu ⊕ data ⊕ database ⊕ databases ⊕ datamining ⊕ datamodel ⊕ decentralization ⊕ defaults ⊕ deploy ⊕ deployment ⊕ design ⊕ development ⊕ distributed ⊕ django ⊕ dns ⊕ ec2 ⊕ efficient ⊕ engineering ⊕ environment ⊕ erlang ⊕ events ⊕ explicit ⊕ explorative ⊕ facebook ⊕ fallacies ⊕ fast ⊕ faulttolerance ⊕ federation ⊕ framework ⊕ future ⊕ gae ⊕ gemstone ⊕ google ⊕ gossip ⊕ growth ⊕ ha ⊕ hadoop ⊕ hardware ⊕ high ⊕ history ⊕ http ⊕ ia ⊕ identity ⊕ infrastructure ⊕ interaction ⊕ interior ⊕ internals ⊕ isolation ⊕ jabber ⊕ javascript ⊕ join ⊕ jquery ⊕ json ⊕ key ⊕ language ⊕ latency ⊕ layout ⊕ lightweight ⊕ linux ⊕ lisp ⊕ load ⊕ loft ⊕ mapreduce ⊕ master ⊕ memcache ⊕ memcached ⊕ memory ⊕ messaging ⊕ migration ⊕ minimalism ⊕ minimalistic ⊕ modularity ⊕ modularization ⊕ mongodb ⊕ mongrel ⊕ monitoring ⊕ mysql ⊕ navigation ⊕ network ⊕ nimble ⊕ nosql ⊕ notification ⊕ object ⊕ oop ⊕ openid ⊕ opensocial ⊕ optimization ⊕ orm ⊕ pageflow ⊕ partitioning ⊕ patterns ⊕ paxos ⊕ performance ⊕ persistence ⊕ philosophy ⊕ ping ⊕ pipeline ⊕ plugin ⊕ present ⊕ presentation ⊕ process ⊕ programming ⊕ pubsub ⊕ python ⊕ queue ⊕ rails ⊕ ram ⊕ redis ⊕ refactoring ⊕ relational ⊕ release ⊕ reliability ⊕ resource ⊕ rest ⊕ ruby ⊕ sammy ⊕ scalability ⊕ scale ⊕ scaling ⊕ scm ⊕ seaside ⊕ security ⊕ self ⊕ seperation ⊕ server ⊕ sessions ⊕ sharding ⊕ sharing ⊕ simple ⊕ simplicity ⊕ slave ⊕ small ⊕ smalltalk ⊕ smoke ⊕ social ⊕ socket ⊕ software ⊕ sql ⊕ stability ⊕ stack ⊕ state ⊕ statemachine ⊕ storage ⊕ store ⊕ style ⊕ subdomain ⊕ testing ⊕ theory ⊕ threading ⊕ threads ⊕ throughput ⊕ tokyocabinet ⊕ tokyotyrant ⊕ topologies ⊕ topology ⊕ twitter ⊕ ui ⊕ unicorn ⊕ unix ⊕ uri ⊕ usability ⊕ varnish ⊕ virtualization ⊕ voldemort ⊕ web ⊕ webhooks ⊕ webservices ⊕ wishlist ⊕ wsgi ⊕ x86 ⊕ xen ⊕ xmpp ⊕ zeromq ⊕Copy this bookmark: