7 comments

  • pie_flavor2 hours ago
    Rust has been a practical experiment in macros for ten years now. I think it is safe to say the results are in: macros are great, and you just needed to have a better style of macros. Making and using something like `tokio::select!` in C-style macros is miserable, but `tokio::select!` is easy to use and understand in Rust.
  • Alien1Being23 minutes ago
    Basic argument:<p>I want it because LLMs make it easy to do without having to think.
  • tombert2 hours ago
    At the risk of being a bit of a douchebag, it seems like nearly every tech opinion piece I read now boils down to &quot;things used to be hard but they aren&#x27;t anymore because LLMs can understand things faster than we can, so can ignore&#x2F;change fundamentals!&quot;<p>I didn&#x27;t really find the argument convincing the first time and I don&#x27;t really find it convincing now.<p>That said, with regards to macros, I actually do agree that the fear against them is broadly overblown. I <i>have</i> seen scary terrible horrifying macro soup in Clojure, but that has generally been outlier cases. Something like core.async abuses the hell out of macros, and despite that I think it very often increases readability and understanding of the language.
    • rgoulter15 minutes ago
      &gt; it seems like nearly every tech opinion piece I read now boils down to &quot;things used to be hard but they aren&#x27;t anymore because LLMs can understand things faster than we can, so can ignore&#x2F;change fundamentals!&quot;<p>Sure, LLM coding agents being capable doesn&#x27;t mean we can ignore fundamentals.<p>But LLM coding agents surely adjust the cost&#x2F;benefit considerations for all kinds of programming efforts.<p>Arranging your code in such a way that it&#x27;s so complicated you <i>need</i> an LLM to understand it is surely silly.<p>Using an LLM to write a macro because you weren&#x27;t going to learn how to write macros and deal with all the subtle cases? I think that&#x27;s arguable.
    • nvme0n1p11 hour ago
      And even if LLMs do our thinking for us, it&#x27;s still not a reason to fork the programming language you&#x27;re using, unless you expect me to believe an LLM can understand `foo |&gt; bar` but it can&#x27;t understand `bar(foo(x))`. If you&#x27;re not looking at the code, it doesn&#x27;t matter how pretty the code is anymore.
    • smitty1e2 hours ago
      As long as GPS stays bullet proof, Navies are in good shape.<p>It&#x27;s going to be a hard come-to-Beevis moment if the magic signal goes away and people have to remember celestial navigation.<p>Not sure you can even find a sextant on most vessels.<p>So too these AI services.
      • fragmede1 hour ago
        GPS service is obviously going to go down whenever World War III goes hot, so the Navy is definitely training sailors on the alternatives.
      • QuesnayJr2 hours ago
        The Navy was phasing out celestial navigation, but after some public outrage from retired naval officers they brought it back.
        • manyatoms2 hours ago
          Does this mean using the star-tracking devices like what satellites have, or like a human paper&#x2F;pen thing?
          • obviouslynotme1 hour ago
            It <i>should</i> mean both. They need to learn how to do it by hand and then learn how to lean on a navigation system. If only GPS fails, then the celestial navigation program fallback runs without a hitch. If shit hits the fan, then they can break out the manual and remember how to do it by hand.
  • brinepot1 hour ago
    Moving from Java to Kotlin was a breath of fresh air; sometimes a language change genuinely unlocks productivity.
  • sublinear18 minutes ago
    Not a single mention of Chesterton&#x27;s Fence. Was this really written for HN, then?
  • tinlid2 hours ago
    My last project needed Rust for one module, but the rest was Go. Felt silly rewriting core logic just to stay unified.
  • crate_881 hour ago
    [dead]