egads I'm looking at a revision of our software from 6 months ago and I'm nearly revulsed at how we thought this looked "acceptable" given where we've gotten to now...
@rchern Joel supports making the rich richer and the poor poorer. Part two of the plan is to make low-rep users spend 500 rep to offer a 250-rep bounty.
@rchern from what I've seen so far if you aren't uncomfortable with it, it's valid. granted I've only interacted with you a few days. c'est la vie. Say the word and I hit the (X)
If you've got 20K rep, does spending rep on a bounty even matter really? http://meta.stackoverflow.com/questions/69989/propose-a-new-20k-reputation-privilege/70006#70006
Just woke up and had to crawl under my desk to kill a Great Big Mosquito that was sucking my blood. It was so full of it that when I killed it tiny blood droplets got splattered onto the walls
Right after they get you, there's a short period of time when they can't fly accurately and have to find a vertical surface to land on to quick-digest some of the blood and squeeze out some of the excess liquid. So, bites are itchy, but revenge is easy. If you're paying attention.
but ... must ... finish ... open ... Visual ... Studio ... Project ... then ... go home to wife (that's a tedious style to keep going with, and quite dumb)
no she's the point, stop wasting time whenever I see that VS has come back around to working so I can get on to the house. 45 minute commute min on my way
You can redirect calls to some properties/functions by using __get, __call.
Is there a way to do it for classes?
I would like to convert all mentions of some_class_name in the code to, MY_VERSION_some_class_name (not only for one class, it's a pattern).
This would be easy if methods / prop...
@Chacha102 Maybe a fresh-rested Aiden Bell is up for the task, I'm having a hard time even wrapping my head around the question at the moment...sudden onset of exhaustion, heh.
Aiden's untested approach: variable variables and generating a string:
<?php
$myObj = new {getClass()}($a, $b);
?>
Whereby the function {getClass()} returns a string for the class. You could call it getDogClass() or whatever.
This means the only refactoring you need is to find/replace o...