• 1 Post
  • 1.43K 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.



  • Funny how folks are different. I always enjoyed reading stuff and making up the ways it can mean stuff. Like, it’s easy to read Dracula and think about feminism and women’s place in the world. (a foreign entity shows up and now women are abandoning their motherly duties, wandering the streets at night? That won’t do. Get some men to hold her down and penetrate her with this big wood. Hmm.)

    I often find the opposite mode, the absolute refusal to think about the story beyond “some things that happened”, tiresome. Like, “Ok I get that the story is about how they have to remove, possibly with violence, the competent women ruler and put the child boy on the throne because the rules say that only a man can rule, but why do you have to make this political? it’s just a fun story.”