Login
You're viewing the code4lib.social public feed.
  • Oct 23, 2026, 2:48 PM

    “It’s good for boilerplate”, my god _who cares_. What else are we all rebuilding or recreating over and over again because we’re doing it alone. What should be part of a new standard library, a standard datatype or utility, a new primitive hiding in plain sight.

    💬 4🔄 7⭐ 17

Replies

  • Oct 23, 2026, 3:11 PM

    Our toolchains are unidirectional, and the result of that has been that our entire global exercise in large stochastic models is running _exactly backwards_.

    Write code. Compile, get errors. Manually go back to edit text. Fix, compile again. Loop N times. Compile successfully, run tests. See failure. Go back to text. Edit text. Loop N times.

    The Rust folks are so close. "Did you mean...." Yes, I did, just... edit the text and retry! "Warning, Implicit cast to" Great, make it explicit!

    💬 1🔄 0⭐ 4
  • Oct 23, 2026, 3:19 PM

    Every step in the development process in which information is gained should be able to drive changes back into the text of the program _through the automation_.

    "Unknown variable, did you mean?" Yes, sure, click. But bring the compiler into the game. "This function will be inlined by the compiler. Inline the text for legibility?" Yes, please.

    But stochastic models? "This code resembles [library]". This code has few side effects, and might be made fully functional [list of side effects]."

    💬 1🔄 1⭐ 4
  • Oct 23, 2026, 3:21 PM

    We could have assistive technology for sharpening, simplifying and clarifying our thinking. Not just generating a tsunami of things we have to think but wish we didn't, instead. We could have that.

    Every line of boilerplate in this world is a tiny monument to laziness and negligence.

    Every line of slop code in this world is a tombstone for someone's cognitive ambitions.

    💬 2🔄 8⭐ 16
  • Oct 23, 2026, 3:09 PM

    @mhoye You know the best tool for boilerplate?
    Ctrl+c, Ctrl+v.
    The point of boilerplate text is you know it works reliably so you can reuse it over and over again, usually with no changes, otherwise with minimal customisations.
    Boilerplate should never be riddled with AI slop and errors.

    💬 0🔄 0⭐ 0
  • Oct 23, 2026, 3:31 PM

    @mhoye with respect, I think that in many cases what's being monumented is "nobody was willing to give someone knowledgeable the support they needed to focus on this". I think of it the same way I think about security bugs: sometimes it's carelessness or ignorance, but sometimes it's "I'm really tired of doing this for free *and* being yelled at".

    💬 1🔄 0⭐ 0
  • Oct 23, 2026, 3:32 PM

    @gvwilson There's definitely a cycle of violence in play here, with deep roots in shoddy metrics like "lines of code" and "dollars"

    💬 0🔄 0⭐ 0
  • Oct 23, 2026, 3:42 PM

    @mhoye

    I prefer to believe that our code writing processes are a microcosm of societal thought at large. Are our societies caught up in Freudian death drive, such that unconsciously most people want their own death and the death of others? Yes. That's clear from our environmental policies so why shouldn't it be clear that our code is designed towards death as well?

    💬 0🔄 0⭐ 0
  • Oct 23, 2026, 3:12 PM

    @mhoye It's just supercharging what was already there. Over the past *mumble* decades I've lost track of how many "but that wasn't invented here, it will never work for us" discussions I've sat through.

    Now with AI, we don't need to have the discussion.

    💬 0🔄 0⭐ 0
  • Oct 24, 2026, 9:27 PM

    @mhoye "i have decided to join the war on boilerplate on the side of the boilerplate"

    💬 4🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Oct 24, 2026, 9:44 PM
    @mcc@mastodon.social @mhoye@cosocial.ca I have been willing to take the side of drugs, against Christmas, cars, and in retrospect terror might have been the right side of that war but even I think taking the side of boilerplate is going too far.
    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Oct 24, 2026, 10:01 PM

    @mcc counts to my LOC quota, so it must mean I’m productive.

    💬 0🔄 0⭐ 0