• onnekas@sopuli.xyz
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    12 hours ago

    Why not import all code ever created by human kind just in case we might need some of it.

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      4
      ·
      8 hours ago

      …and then we can grind all the code ever created by human kind into a fine paste, and write a clever algorithm to regurgitate it as a squishy code slurry in response to questions about problems that the standard libraries already solved.

    • squaresinger@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      12 hours ago

      I want to build a kick scooter. For that I need some wheels. So I import the well-known semi-truck framework. From that framework I take some huge wheels. They are too large and too many, but I guess I can make do with them.

      But I need to attach the wheels to one another, so I import the bridge-building-library, because they have steel bars in there.

      Lastly, to attach all of that together I import the NASA space ship framework because there’s a hand welder in there, that’s been deprecated years ago, but it’s still rotting away in there because some important products still require the hand welder class for some entirely unrelated use cases.