Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Thursday January 24 2019, @10:25PM   Printer-friendly
from the ask-the-PHB dept.

Russ Cox, who developed the dependency/package management system for Go, writes about the problems with software dependencies. A choice excerpt:

Dependency managers now exist for essentially every programming language. [...] The arrival of this kind of fine-grained, widespread software reuse is one of the most consequential shifts in software development over the past two decades. And if we’re not more careful, it will lead to serious problems.

A package, for this discussion, is code you download from the internet. Adding a package as a dependency outsources the work of developing that code [...] to someone else on the internet, someone you often don’t know. By using that code, you are exposing your own program to all the failures and flaws in the dependency. Your program’s execution now literally depends on code downloaded from this stranger on the internet. Presented this way, it sounds incredibly unsafe. Why would anyone do this?


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 0) by Anonymous Coward on Friday January 25 2019, @08:08AM

    by Anonymous Coward on Friday January 25 2019, @08:08AM (#791663)

    The people you describe are not stupid, they are in the business of surviving and living.
    For that purpose they make a forest of complexity around themselves.
    Meetings, coding, politics, bureaucracy is complex, because more people have reson to exist in that complexity.
    In a complex situation nobody is worthless =)

    By the way, in school it was said to me that the age of modern human begun whith the keeping of cattle.
    Cattle come in many forms, as example.
    You might think, as example, that the sweeds care for the mentally ill cuz they are nice.
    Actually, they are not, they are ceeping the mentally ill as political cattle.
    As long as they exist, and are the lowest there is, and they have sufficient living standards, nobody can come to the "somewhat" higher level little-people and take what they have with a good motivation. You have to go for the lowest first.
    And so, it is good to keep a good stock of the lowest breeds =)

    -zug