Skip to content

Instantly share code, notes, and snippets.

class Information():
def __init__(self):
self.associates_with = []
"""This associates our derived object with other objects."""
def associate_with(self,*what):
self.associates_with.append(what)
"""The most useful method for now: After our object has been associated with other objects,
we may want to list all these associations. However, due to language limitations the output
is not the desired one. Instead of object-names we get indicators to object instances, simply
@bmix
bmix / why_pollutes_project_butnot_collection.js
Created March 22, 2010 23:47
GTD.Project() pollutes via prototype, but not GTD.Collection(). I do not understand why. Could somebody please explain and, maybe, correct the code? Thanks a lot!
/*!
Math.uuid.js (v1.4)
http://www.broofa.com
mailto:robert@broofa.com
Copyright (c) 2010 Robert Kieffer
Dual licensed under the MIT and GPL licenses.
*/
(function() {
// Private array of chars to use