3 comments

  • ChrisMarshallNY18 minutes ago
    I’ve found utility in <i>removing</i> code.<p>I feel that doing the job with the fewest lines of code, is best.<p>I also believe in focused&#x2F;pure scope. If I write a type or API to do a job, then it should do that job, and <i>only</i> that job. If I want to add functionality that is out-of-scope, then I’ll often write another type, instead of adding it to the existing one. Making this type of decision is always fraught.<p>But, like in all things, it depends. Sometimes, reducing the overhead of things like setup and testing is a good reason to not introduce a whole new resource, but I should make it a point to document the <i>reason</i> for the incongruity.<p>This is especially true, when designing user interface. I’ve found that, usually (not all the time, though), less is more.<p>Josef Albers is known (amongst other things), for the quote “Sometimes, in design, one plus one is three or more.”.
  • joshka1 hour ago
    The counterpoint is that building software is not building a fence. When you create something in software, nothing tangible changes until that&#x27;s accepted and running on all the places that you deploy to. A PR is just a hey, here&#x27;s a fence that the contributor built elsewhere that proves that building something like this is possible.<p>The corollary is design your open source libraries so they&#x27;re obvious enough that the chesterton&#x27;s gaps are obvious. Anytime an AI tool submits something that breaks your expectation of things not being necessary it usually highlights that there&#x27;s a missing gap in the explanation of what is necessary.
    • stephantul1 hour ago
      I’m not sure I share your view of PRs. I still see submitting PRs as something that puts pressure on maintainers. Even incorrect PRs take time to verify and review.<p>I also don’t see how this differs between the “gap” and the “fence” part of the metaphor. Whether someone submits a rewrite&#x2F;removal (fence) or a new feature (gap) for PR review, it’s still going to cost me attention.
      • joshka10 minutes ago
        It&#x27;s only pressure if you believe the social contract in a PR is that everything that is written is something you&#x27;re obligated to read &#x2F; respond to. If you flip that a bit to a PR being the first step in a way of saying &quot;I tried a thing and it worked, what&#x27;s necessary to make that an actual thing that other can use&quot;, then you will sort of land here.<p>Previously I wrote <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=48517931">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=48517931</a>
  • ndr1 hour ago
    Related to this, the concept of &quot;free as in puppies&quot; from D. Richard Hipp, creator of SQLite:<p>&gt; Suppose you had a pull request for SQLite. &quot;Hey, I&#x27;ve got this new feature for SQLite. Here&#x27;s the pull request.&quot; When you want me to pull that into the tree, you say, &quot;Oh, it&#x27;s free.&quot;<p>&gt; No, it&#x27;s not free. What you&#x27;re doing is asking me - you&#x27;ve got this cool feature, and you want me to maintain it for you, to document it for you, to test it for you, to maintain it for you for the next twenty-five years. That&#x27;s not free.<p>&gt; Linus Torvalds is famous for saying there&#x27;s free as in beer and free as in speech. But there&#x27;s another kind of freedom: free as in puppies. &quot;Oh look, I&#x27;ve got a free puppy for you.&quot; You see where this is going?<p>&gt; A pull request is a free puppy. And then you&#x27;ve just got a kennel full of puppies at the end of the day. And you can&#x27;t just throw them out - you&#x27;re morally obligated to take care of them for their natural life.<p>&gt; I don&#x27;t want any free puppies.<p>source: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;x8_ZZhRL3YU?t=1715" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;x8_ZZhRL3YU?t=1715</a>
    • stephantul1 hour ago
      Thanks! This is very similar indeed. Related: I see a lot of “drive-by” PRs by agents, who obviously have no intent of ever maintaining the code they wrote.
    • akoboldfrying40 minutes ago
      FYI there are quite a few glitches in there:<p>&gt; and want you want me to maintain it for you<p>&gt; to to document it for you<p>&gt; Linus Torvalds is famous famous<p>&gt; A pool request<p>&gt; They&#x27;re you you&#x27;re you&#x27;re morally obligated
      • ndr15 minutes ago
        Thank you, I was too eager copy-pasting YT transcriptions.