• 0 Posts
  • 115 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle
  • The other day I was updating something and a test failed. I looked at it and saw I had written it, and left a comment that said like “{Coworker} says this test case is important”. Welp. He was right. Was a subtle wrong that could’ve gone out to customers, but the wrong stayed just on my local thanks to that test.


  • I would have questions about how they work with a team and structure.

    Are they going to be okay with planning work out two weeks ahead? Sometimes hobbyists do like 80% of a task and then wander off (it’s me with some of my hobbies).

    Are they going to be okay following existing code standards? I don’t want to deal with someone coming in and trying to relitigate line lengths or other formatting stuff, or someone who’s going to reject the idea of standards altogether.

    Are they going to be okay giving and getting feedback from peers? Sometimes code review can be hard for people. I recently had a whole snafu at work where someone was trying to extend some existing code into something it wasn’t meant to do*, and he got really upset when the PR was rejected.

    Do they write tests? Good ones? I feel like a lot of self taught hobbyists don’t. A lot of professionals don’t. I don’t want to deal with someone’s 4000 line endpoint that has no tests but “just works see I manually tested it”






  • Why would you add two arrays like that? Because I want to combine two lists.

    The is operator is for identity, not equality. Your example is just using it weirdly in a way that most people wouldn’t do.

    No because I am not using Python to make a web app. That’s not the only thing people write you know… Most of what I’ve worked on has been webapps or services that support them :shrug:

    Typescript and Python there’s absolutely no way I’d pick Python (unless it was for AI).

    Agree to disagree then. We could argue all day but I think it’s mostly opinion about what warts and tradeoffs are worth it, and you don’t seem like you have no idea what you’re talking about. Sometimes I meet junior developers who have only ever used javascript, and it’s like (to borrow another contentious nerd topic) like meeting someone who’s only ever played D&D talking about game design.












  • I’ve never had a complaint about logging stuff in python. It generally does what I expect.

    “Create a copy of your object and print that” is what I ended up doing, but I don’t think most people would say that’s intuitive. I expect if i print something at a particular time, I get what it is at that point in time.