328 reputation
19
bio website
location Cambridgeshire, United Kingdom
age 36
visits member for 2 years, 2 months
seen Mar 13 at 15:55

I've been into web programming since 2009, mainly using Python for scripting cloud services. I also build webapps, mentor Thinkful students and do some tech writing.

I'm really into CoffeeScript at the moment, and do some open source stuff with it.


Feb
17
comment What is the relationship between scope and namespaces in Python?
Cool. You're right. This has become a bit nit-picky.
Feb
17
comment What is the relationship between scope and namespaces in Python?
Those docs are ancient, from when Python had a different model -> "At any time during execution, exactly three nested scopes are in use.". Those docs are from Python1 I think.
Feb
17
revised What is the relationship between scope and namespaces in Python?
added 12 characters in body
Feb
17
revised What is the relationship between scope and namespaces in Python?
added 284 characters in body
Feb
17
comment What is the relationship between scope and namespaces in Python?
"A scope refers to a region of a program from where a namespace can be accessed without a prefix." This doesn't even make sense, and is entirely syntactic. It has nothing to do with the semantics of namespaces or scope. The example code also glosses over the same lack of clarity.
Feb
17
revised What is the relationship between scope and namespaces in Python?
deleted 520 characters in body
Feb
17
revised What is the relationship between scope and namespaces in Python?
added 37 characters in body
Feb
17
revised What is the relationship between scope and namespaces in Python?
added 37 characters in body
Feb
17
answered What is the relationship between scope and namespaces in Python?
Dec
21
accepted The Better Parts and Delegation: Is Crockford Too Extreme?
Dec
20
revised The Better Parts and Delegation: Is Crockford Too Extreme?
deleted 204 characters in body
Dec
20
comment The Better Parts and Delegation: Is Crockford Too Extreme?
Can we at least say almost never delegate? Could we say never delegate except where the lack of delegation is a bottleneck?
Dec
20
comment The Better Parts and Delegation: Is Crockford Too Extreme?
+1 But while the top answer on that question, with the metaphor of traveling a small distance, is very good, Crockford's saying never use delegation. So, allowing for extreme cases, which I assume he'd allow for too, can we generally ignore the inefficiencies? Is the extreme case hundreds of objects or millions?
Dec
20
revised The Better Parts and Delegation: Is Crockford Too Extreme?
added 224 characters in body
Dec
20
asked The Better Parts and Delegation: Is Crockford Too Extreme?
Dec
20
awarded  Critic
Dec
18
answered Why aren't there other programming languages that compile to Python bytecode?
Dec
18
comment Why aren't there other programming languages that compile to Python bytecode?
Having self as an arg to the method makes it easier to follow what happens when you're passing it around with decorators and so on. It's just another reference to the instance.
Jun
25
comment Why aren't there other programming languages that compile to Python bytecode?
Python is a very nice language, but the library and ecosystem is getting really tired. There's little point replacing the language to access the libraries.
Apr
5
awarded  Yearling