← Back to Users
sedholm's activity in the archive.
Python code looks fairly neat, but that doesn't keep you from doing ugly things:class Foo: def value(self, v): f.value = vf = Foo()f.value(42)print f.value
CBC Radio's Quirks and Quarks did a feature on DBS back in January. See http://www.cbc.ca/quirks/archives/05-06/jan21.html #1
Python code looks fairly neat, but that doesn't keep you from doing ugly things:
class Foo:
def value(self, v):
f.value = v
f = Foo()
f.value(42)
print f.value
CBC Radio's Quirks and Quarks did a feature on DBS back in January. See http://www.cbc.ca/quirks/archives/05-06/jan21.html #1