• 0 Posts
  • 538 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle

  • Code reviews are important. Unfortunately, no-test-text guy convinced his whole team that he was right, and I wasn’t able to block it. I’d scheduled a meeting to try to get the wider org to adopt a more sensible standard, but then there was a mass layoff 🤷

    The other guy with the bad messages is at a tiny startup where they’ve laid off almost everyone, and the other 2 guys don’t want to make waves. The CEO is big on “just ship it” (and also “why are there bugs in production? this is unacceptable!!”)










  • Half of US adults can’t read at a 6th grade level. I think speed and accuracy of reading is also pretty low (I read like 80 wpm and 80% accuracy somewhere, but i couldn’t immediately find a good source for that).

    If you’re on a text forum like this you’re probably well above the average person, and your experiences are not universal.

    That said, I don’t have any data on hand about readability so you could be right. I’m sure people have studied it.



  • I’ve worked with a few people who are just incomprehensible. One refuses to write commit messages of any detail. Just “work in progress”. Cast him into the pit.

    There was another guy that refused to name his tests. His code was like

    describe(''. () => {
      it('', () => {
         expect(someFunc()).toEqual(0);
      }
     it('', () => {
        expect(someFunc(1)).toEqual(0);
      }
     it('', () => {
       expect(someFunc("").toEqual(1);
     }
    }
    

    He was like, “Test names are like comments and they turn into lies! So I’m not going to do it.”

    I was like, a. what the fuck. b. do you also not name your files? projects? children?

    He was working at a very big company last I heard.

    edit: If you’re unfamiliar, the convention is to put a human readable description where those empty strings are. This is used in the test output. If one fails, it’ll typically tell include the name in the output.





  • I had a job that paid stupid well. I’d give some money to almost anyone who asked on the street. They need it. I have plenty. I’m not going to notice the $1 or $5 or even $20 that I gave away. I make more than that in interest every day.

    Rarely, I’ll talk with them a little. Ask their name or their story. There’s a regular around me that seems delighted that I remember his name.

    Sometimes someone will seem unsafe, but most people are alright. It helps that I’m a bearded man, so certain classes of danger and harassment are rarely pointed at me.

    I got laid off in February. I still give to people who ask, but I carry less cash so sometimes I don’t have anything to give.

    When I’d be out with coworkers, before we all got laid off, none of them would give anything to people asking. I know they made as much or more than I did. I don’t judge people for not giving cash out when they’re in debt or struggling to pay rent, but I do judge my coworker for like wearing a high five figure watch and never helping the poor.