8,285 reputation
73145
bio website zopatista.com
location Cambridge, United Kingdom
age 42
visits member for 2 years, 11 months
seen 25 mins ago

Invisible framework coding ninja


Mar
29
reviewed Reviewed How come javascript, being a prototype based language, doesn't have an easy way to access the prototype?
Mar
29
comment How come javascript, being a prototype based language, doesn't have an easy way to access the prototype?
You are not answering the question however; which is why JS didn't have that right from the start. Eric's answer addresses that, including when <object>.constructor.prototype is available. And unless your post adds significantly to answering the why question, I don't think we need more answers here.
Mar
25
reviewed Reviewed How do regular expressions actually work?
Mar
25
comment How do regular expressions actually work?
Those that say that regular expressions are not fast are qualifying their answer. Like Regular expressions are not always faster than a simple search. It all depends on context. Then go on to actually answer the question posted. If you have seem to have a specific situation; you could talk about that specific situation (provided it is novel and adds something new to the context here), but take into account that this question has already been thoroughly answered. 7 answers is quite enough.
Mar
22
reviewed No Action Needed Programming with voice recogition software
Mar
20
comment Python, namespace vs module with underscores
So you identified several very specific issues that limit how you can use namespaces. I never ran into the pip issue (I never install packages as editable with pip as I use buildout for that usecase). Don't use a shared namespace in that case, you are not forced to. That has little to do with performance however.
Mar
20
revised Python, namespace vs module with underscores
added 10 characters in body
Mar
20
comment Python, namespace vs module with underscores
So? That doesn't make a difference to how you import them.
Mar
20
comment Python, namespace vs module with underscores
Not sure what you mean by but on pypi, independent packages are saved in different location.. Can you please elaborate on that?
Mar
20
answered Python, namespace vs module with underscores
Mar
18
revised Write two versions of class with two different super classes without violating DRY?
added 23 characters in body
Mar
18
answered Write two versions of class with two different super classes without violating DRY?
Mar
18
comment Ordering of methods in class
There are no short-cuts. Use what you feel aids reading comprehension.
Mar
18
revised Ordering of methods in class
edited tags
Mar
15
comment Most MVC-strict php framework
I understand this post is year old, which is ironically the reason I am posting this response. The question is actually now considered off-topic and I have voted to close it as such. One of the reasons that we now consider such posts as off-topic is precisely because the information is outdated so easily.
Mar
14
comment Is modifying an object's __dict__ to set its properties considered Pythonic?
@skyler: note that that only mentions the module namespace. The globals() function returns the same namespace, and there are usually better ways to solve problems than setting globals dynamically, hence the warning.
Mar
14
reviewed No Action Needed Missing `$` like operators in Haskell
Mar
12
reviewed No Action Needed how to nicely use constant std::string in c++
Mar
12
reviewed Reviewed How is the facade pattern different from abstraction layers?
Mar
12
revised How is the facade pattern different from abstraction layers?
code formatting