• 0 Posts
  • 290 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!!”)


  • 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.







  • Is this an age thing? I’m about 40 and I never had instagram, barely used facebook, and didn’t use any others really. I don’t think I’ve ever had a problem where someone backed out because I didn’t have instagram. But I also don’t have a big group of casual friends, and maybe that would be harder.

    Discord sucks, but I’ve noticed a lot of social groups use it. A couple meetups I go to all use it for communication. Maybe that’s more bearable than instagram?




  • despite a decade of experience, I can’t even get to the first round of interviews.

    I’ve had several places reject me without even a phone screen. My last job was the same role, the same tech stack, and I achieved the things they wrote about in the blurb. I just get back “we’re looking for someone more aligned with our needs”.

    What needs?? I check every box you put on the post!

    My friend thinks the jobs don’t exist, and they’re just posted so the company looks good. Or they’re some other fraud.

    I think that happens, but also there’s incompetence in the funnel. Recruiters can’t read, ai sucks, blah blah blah.





  • Oh yeah. Cars are bad on like every metric.

    Socially they isolate people. You don’t interact with anyone when you’re driving except to get angry. The micro interactions you have on the train matter. Seeing people that aren’t just like you, also annoyed that the train is delayed, or just having a nice time with their kids, matters. More than makes up for when other people are annoying.

    Economically they hurt. It’s much harder to just pop into an interesting looking shop when you’re cruising along at 40mph. All the space dedicated to parking could be used for other stuff- housing, commerce, communal space, whatever.

    They make spaces less safe. Other than the direct impact (no pun intended) of people getting hit by cars, or crashing into stuff, a space that has steady foot traffic is generally safer. If everyone was in their car instead, you’d probably be alone on foot with no one to help if something happened.

    They’re bad for the environment. Air pollution, micro plastics, whatever.

    Drunk driving is way more dangerous than drunk “riding the train”.

    The more non-car options are built out, the better it will be for people who need to drive for whatever reason.

    Cars culture is trash and if we ever escape from it, it’s going to take years.





  • jjjalljs@ttrpg.networktoProgrammer Humor@programming.devNode Modules
    link
    fedilink
    arrow-up
    25
    arrow-down
    1
    ·
    2 months ago

    I don’t know about “fine”. It has a lot of weird stuff baked in. Hoisting. Unexpected type coercion. Too many ways to loop over something and I always forget which one is which. “There’s more than one way to do it” is kind of a recurring problem, come to think of it. Several function declaration syntaxes. Dot notation AND bracket notation for objects.

    Also it will forever bother me that object keys aren’t quoted.

    const foo = "hello"; const bar = { foo: "world" }

    That should be, in my mind, { "hello": "world" } . It’s not. It’s { "foo": "world" }

    But if you want to do that, you need to do const bar = { [foo]: world }. Which looks like your key is an array with one entry, a string with a value of “foo”

    You also end up learning a whole framework, with its syntax and idioms, every couple years. Angular. React. Redux. Whatever.

    There’s also a lot of people who have never used anything else, and want to use javascript for everything.

    Javascript is basically D&D. Wildly popular. Full of legacy jank. People try to use it for anything even though there are better or more specialized tools.