• 4 Posts
  • 494 Comments
Joined 3 年前
cake
Cake day: 2023年6月13日

help-circle
  • Yeah, absolutely agreed.

    Btw, you probably already know this, but if you don’t. The later versions of Node can run typescript natively. By “run”, I mean, it can run a subset of the language, if your project indirectly or indirectly references a file that has “decorators” or something like that, then you’ll need to use another compiler.

    ts-node or tsx are runners that I use typically if I just want to “run” something. They’re basically zero config runners and I can debug with them with VS Code.


  • I’m a former .NET dev … I stopped quite a few years ago after I joined a Bay Area company. It was quite a change. React 1 was just coming out and I used to just write bad JS on my webpages and I had to rewrite our front-end in React. Also, ES5 or 6 or whatever was getting popular and we had to transition from CoffeeScript.

    The JS world gave me whiplash after doing so many years of Enterprise .NET. The .NET tools felt so much more polished.

    The fundamentals of Node to me were different than .NET. .NET felt like it had a lot more cruft and “magic” at first. With Node it felt deceptively simpler at first. Then when the require syntax was going away and we had imports but then it wasn’t a real import. It was a TypeScript import or a webpack import that did a require behind the scenes. Then I had to understand why we used typescript but then what was the point of tsc vs babel vs webpack vs esbuild what their roles were and I kind got a bit obsessed with understanding what they did and what was happening under the hood. Then Node officially did do import and I had to understand what that was all about and how it affected our compilers or bundlers.

    Sorry I rant pointlessly. Godspeed on your journey!









  • I think they’re stupid too. Going into an interview is already stressful enough and these types of questions don’t put me into “problem solving” mode. They put me into “brain teaser” mode which is a different type of thinking for me. You know how we nailed these questions when I was in uni? We traded them after our interviews between each other and you just had to pretend you’ve never heard it before. So the main thing people were testing was whether or not the question had made it to them.

    For programming, there are so many better ways to test out of the box thinking to me … I think the “what happens when you press a letter into a web browser address bar” or something is better and at least relevant. One that I like is, “there’s an outage in production, how would you go about diagnosing it?” Then as an interviewer I’d reshape the scenario and see where they put their focus and where they give up.


  • I think I can see where you’re coming from in that way.

    I’m not gay so I’m not as sensitive to these jokes. I am Asian, however, and I dislike “Uncle Roger” for what I think is similar to this. The butt of the joke is that Asian people speak funny. So I think it’s similar to what you’re saying. The butt of the joke is that it’s embarrassing to have a gay relationship.


  • I can only speak for myself in detecting homophobia and I’m not always the best judge. I don’t want to deny your experience either, I’ll just say what I’m seeing:

    There were leaks earlier that someone texted about Trump gave a blowjob or something to someone called Bubba. Then people speculated it was either Bill Clinton or even the nickname of a horse (I think people were just reaching for extremes in the memes).

    Assuming the leak was real and person that sent the message was real and that Bubba was the nickname for Bill Clinton. I think people are just putting out fakes of the evidence of that?

    I don’t see anyone saying it’s not “manly” to be gay or that being gay is undesirable?

    Like I said, if I twist myself a bit a little too I think I can see the “haha gay people” angle. I just don’t think I see it, maybe it’s because I would like to think homophobia is so played out I would think they’d make a better joke or that secretly gay politicians is so common now.

    That doesn’t mean you’re wrong though for sure, just because I can’t see it doesn’t mean the author’s intent isn’t there.








  • The Caesar salad was created in Tijuana, Mexico, in 1924 by Italian immigrant Caesar Cardini at his restaurant, Caesar’s Place. The salad was a hit, particularly with American tourists escaping Prohibition, and quickly gained fame, spreading to Hollywood and beyond.