Skip to main content
Weaver's user avatar
Weaver's user avatar
Weaver's user avatar
Weaver
  • Member for 10 years, 4 months
  • Last seen more than 1 year ago
awarded
Loading…
Loading…
comment
Question about requirements
Apparently I acoidentally downvoted this at some point and now can't change it. :(
comment
How do you identify bugfix commits on QA environment with Git repository?
Paste the commit hash and/or commit message into the tracker? This is just about indicating when something is done with a papertrail, right?
comment
Genetic programming
@veryfoolish StackExchange is already a genetic algorithm, the solvers are just so good we need to give them a new problem every iteration.
awarded
comment
which pattern is most intuitive for a calculator app?
I think operation is fine, but the do method should be called "eval" or similar. Also, IValue eval(IValue a, IValue b) perhaps?
comment
Is there ever a reason to do all an object's work in a constructor?
Blah. Minor changes would make this oddity so much more useful, if the usage was more like: -- fd = FTPdump(site, directory) -- for file in files: fd.upload(file)
comment
When creating a library, is there a way to make certain classes entirely internal to the library, and not exposed to the user of the library?
@Aviv i think i'd say that's a case of "if your user removes the safty and triggerguard, it's no longer your fault that holstering the gun occasionally shoots them in the leg."
comment
LSP vs OCP / Liskov Substitution VS Open Close
It sounds like you are just explaining one of the principles, the L one i think. For what It is it's ok but the question asked for a compare/contrast of two different principles. That's probably why someone downvoted it.
comment
Database design, how to handle freelancers
I agree, people working oueside a company have to take on certain org-like responsibilities, probably should others and can even more. Some might even have a dba or other name you could put down for it; for the rest you can make a standard name suffix [Jo Bort [Freelancer]] or flag /org type field for it.
awarded
comment
Why aren't there cherry-pick requests?
I haven't seen what these histories look like but I'd think that having a clear display of merges being from externvl sources would be preferable in many cases?
awarded
awarded
revised
Loading…
comment
Python mutable default argument: Why?
When faced with anything tricky involving variables in python, I find it helpful to consider "=" as the "name-binding operator"; the name is always rebound, whether the thing we're binding it to is new (fresh object or immutable type instance) or not.