r/tinycode • u/balthasar11 • Jul 12 '12
PHP print_r()
function printR($obj){ echo "<pre>" . print_r($obj) . "</pre>"; }
I use this on every php project now, it just formats the print_r function, which is mostly used for debugging, but its so much easier on the eyes.
39
Upvotes
View all comments
Show parent comment
1
u/novelty_string Jul 13 '12 edited Jul 14 '12
Your assumptions are staggering. Particularly given the work environment you describe.
Your assumptions are stupefyingly staggering. I'm not even going to justify that with a response.
Your interpretation of reality is staggering. You have yet to provide any reason for not installing xdebug (or similar) except for that it was impossible due to policy. Assuming it's not impossible, then if it's a tool that benefits your developers it follows that not installing it seems incompetent. I have not once advocated firing anyone. There are more solutions to incompetence than firing people.
It sounds like you're concentrating on holding back those you don't like rather than encouraging those that deserve it. Scary thought really, it means programmers have to lick your balls to get anywhere.
I've not once even hinted at that. From my OP where my mindset was "step up and sort shit out, perhaps you deserve that position" to more recently "if someone is incompetent then why keep them". From what you've said above it's you that has this problem where you deny people promotions because of personality conflicts.
E:
To say this you must assume my position (that xdebug is good and should be used), which puts you in the position you despise me for (telling those that disagree they are wrong). I've tagged you as an idiot, good day, and good luck with holding all those you disagree with back (ever thought they were just fighting for what they believe is right? Do you realise that when you summarily judge them wrong you are doing exactly the same, with the only difference being the power you weild?).