• 0 Posts
  • 48 Comments
Joined 1 year ago
cake
Cake day: December 9th, 2023

help-circle
  • I am not a big fan of the first example. If all that a function is doing is pasting its argument into a template string, then I’d rather see that pattern expressed explicitly in a single line of code than have to mentally infer this pattern myself by reading two separately expressed cases in six lines of code.

    (It’s not that big of a deal, but when reading through a lot of code to figure out what is going on, these little extra mental exertions start to really add up.)










  • Could someone point me to a more in-depth legal analysis of this bill? The text of it is here. It looks to me like it is mostly about replacing vague parts of the U.S. code with regards to patents with more explicit instructions, and one of these instructions even seems to give courts explicit permission to judge whether an invention is eligible for a patent rather than taking this power away:

    IN GENERAL.—In an action brought for infringement under this title, the court, at any time, may determine whether an invention or discovery that is a subject of the action is eligible for a patent under this section, including on motion of a party when there are no genuine issues of material fact.

    Furthermore, one really nice thing that this bill does is that it makes it clear that if the invention or discovery solely involves a process or material occurring naturally with no modification–a human gene being explicitly called out–then it is explicitly ineligible for a patent.

    To be clear, though, I am not a legal expert, which is why it would be great if someone would provide an in-depth analysis of exactly where the problem is rather than just saying that the bill is bad.








  • Something that definitely separates me from some of my less experienced coworkers is that, when I sit down and start to implement a plan I came up with in my head, if it turns out that things start exploding in complexity then I reevaluate my plan and see if I can find a simpler approach. By contrast, my less experienced coworkers buckle down and do whatever it takes to follow through on their plan, as if it has now become a test of their programming skills. This makes life not only more difficult for them but also for everyone who has to read their code later because their code is so hard to follow.

    I try to push back against this when I can, but I do not have the time and energy to be constantly fighting against this tendency so I have to pick my battles. Part of the problem is that often when the code comes to me in a merge request it is essentially too late because it would have to be essentially completely rewritten with a different design in order to make it simpler. Worse, the “less experienced” coworker is often someone who is both about a decade older than me and has also been on the project longer than me, so even though I technically at this point have seniority over them in the hierarchy I find it really awkward to actually exercise this power. In practice what has happened is that they have been confined to working on a corner of the project where they can still do a lot of good without others having to understand the code that they produce. It helps that, as critical as I am being of this coworker, they are a huge believer in testing, so I am actually very confident that the code they are producing has the correct behavior, even when I cannot follow the details of how it works that well.