289 reputation
19
bio website
location Cambridgeshire, United Kingdom
age 35
visits member for 1 year, 10 months
seen 5 hours ago

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.


1d
accepted The Better Parts and Delegation: Is Crockford Too Extreme?
2d
revised The Better Parts and Delegation: Is Crockford Too Extreme?
deleted 204 characters in body
2d
comment The Better Parts and Delegation: Is Crockford Too Extreme?
That seems like the best approach, keep it simple and get clever only when necessary.
2d
comment The Better Parts and Delegation: Is Crockford Too Extreme?
I actually enjoy allowing "old codgers" telling me how to think, when they're also world class programmers. I don't always do as they say, else I wouldn't be asking if he's too extreme here, but I definitely listen.
2d
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?
2d
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?
2d
revised The Better Parts and Delegation: Is Crockford Too Extreme?
added 224 characters in body
2d
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
Jan
7
comment Why do people hesitate to use Python 3?
It's a good answer, and makes a lot of sense, but there are significant upsides for companies that allow their developers to use the very best tools. Python3, as a language, is superior to Python2. A lot of software companies could make the investment back in time saved not dealing with unicode alone.
Oct
23
comment How to Avoid a Busy Loop Inside a Function That Returns the Object That's Being Waited For
I went with conditions over semaphores. It just fit the specifics of the problem better, but your answer's spot on. Cheers.
Oct
23
accepted How to Avoid a Busy Loop Inside a Function That Returns the Object That's Being Waited For
Oct
23
comment How to Avoid a Busy Loop Inside a Function That Returns the Object That's Being Waited For
It must return the string the user entered. If someone does help(), Python will print a message and create a prompt for some input by calling sys.stdin.readline. I need to assign a custom readline method that blocks and returns the user's input. It's removing the busy loop from that method [or whatever it calls] that's the problem.
Oct
23
asked How to Avoid a Busy Loop Inside a Function That Returns the Object That's Being Waited For
May
23
awarded  Scholar
May
23
accepted I need some help with defining a shell syntax