2

I need to go buy a rubber duck so it looks less like I'm talking to myself. Trying to pull out and refactor some shit functionality in a WordPress theme because the client NEEDS it. Frankly all it is doing is creating a custom post type, but they're used to the way they've been doing it and I'm stuck with dealing with it. I generally like this part of my job (my face in the code) but trying to read this huge mess of code with no standards is driving me insane.

"What in the hell are you doing here?" "Why do we have variables for $thedata, $the_data, and $theData?"
"Why are your brackets on the wrong line sometimes?"
"Why is each line in this function enclosed in it's own PHP tags rather than around the function?"

At least if I had a duck I could say I'm talking to him.

Comments
  • 2
    I'm not sure talking to a rubber duck instead of yourself is better if you want to make the impression of a sane person.
  • 2
    @deadlyRants well they can find on Google that talking to a rubber Duck is a real thing.

    If they are searching on talking to yourself they probably find a lot of mental health problems.
  • 2
    But talking to yourself is also a thing. I haven't gone looking for scientific verification, but I've talked to myself for as long as I can remember, merely because it helps to hear my thought process outside of my head.

    My attitude is, I'm weird, but not crazy, and I'm okay with other people thinking that about me if they must.
Add Comment