Click here to Skip to main content
15,888,351 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The way software is pasted together these days Pin
Chris Copeland11-Apr-24 23:20
mveChris Copeland11-Apr-24 23:20 
GeneralRe: The way software is pasted together these days Pin
Daniel Pfeffer11-Apr-24 23:33
professionalDaniel Pfeffer11-Apr-24 23:33 
GeneralRe: The way software is pasted together these days Pin
honey the codewitch12-Apr-24 1:19
mvahoney the codewitch12-Apr-24 1:19 
GeneralRe: The way software is pasted together these days Pin
Chris Copeland12-Apr-24 3:33
mveChris Copeland12-Apr-24 3:33 
GeneralRe: The way software is pasted together these days Pin
honey the codewitch12-Apr-24 4:44
mvahoney the codewitch12-Apr-24 4:44 
GeneralRe: The way software is pasted together these days Pin
Chris Copeland14-Apr-24 23:34
mveChris Copeland14-Apr-24 23:34 
GeneralRe: The way software is pasted together these days Pin
honey the codewitch14-Apr-24 23:47
mvahoney the codewitch14-Apr-24 23:47 
GeneralRe: The way software is pasted together these days Pin
Chris Copeland15-Apr-24 0:26
mveChris Copeland15-Apr-24 0:26 

If it's a given then why do so many people do it, in so many projects? It seems the norm rather than the exception.


I'm guessing for convenience? If a library exists out there that accomplishes exactly one of the things that you need your solution to do, why would you not use it? If I wanted to build a quick tool that processed some CSV file and dumped the data in a database, I'd probably leverage the two dependencies I am familiar with which will expedite this process, cutting my development time down from hours to, likely, less than an hour. And you're probably thinking "well this is my point, people just jump straight to using dependencies and that's why we're in this mess", and absolutely, you're right. But again, people also don't want to be re-inventing the wheel and wasting hours or days building a new library that does exactly what another library does.


Why would I? This isn't about NIH syndrome. If it was, I would have mentioned it.


Then what is your argument here? I get you're saying that reliance on dependencies can make projects messy, and that maybe we're overly dependent on them, but what's the alternative? Does everyone go back to writing their own libraries and storing them in version control? It's like an anarchist saying "the government is terrible and we should abolish them!" Okay, if I agree that the government is terrible, what is the alternative?


Oh you're making a point about dependency package managers? Because I'm not. My point is about people.


Well package managers are where people get their dependencies, unless they're downloading the sources and building them themselves. People have unified repositories for downloading the libraries they need, rather than ye olde days when you'd manually download DLLs, or checkout code and build from source, and store in version control. People choose to use these package managers because they can Google "c# asp.net validation nuget" and be presented with packages which provide validators for ASP.NET modal objects.


[Then goes on to explain that it's exactly what I said it was]


Except it isn't exactly what you said. Oracle never developed anything, it's an Apache tool which is used by businesses and freelancers for storing and caching dependencies on a node within an infrastructure to reduce network-load in both build pipelines and on internal networks. The fact that it provides additional security by preventing malicious version overwrites, and retains dependency versions even when removed from the source distribution channels, is an added bonus. Is it an added layer of complexity? Sure, but it beats the hell out of keeping your dependencies in version control, or sitting in a folder somewhere on your PC for when you want to use it.

I'll throw you a bone. Do I agree that dependencies are an absolute mess? Of course I do, my projects have hundreds of dependencies because the base packages I use also have dependencies, which have dependencies. The fact of the matter is though, everything I use is industry standard in my field, if I look up job descriptions for my role almost all of the listings expect experience in the libraries I'm using. And I'm not managing all of these hundreds of dependencies, I manage about 25, the tools I use take care of the rest. If I don't use these libraries, I have to build an insurmountable of code to accomplish what I need.

And as I said before, if I choose to upgrade my libraries I do have to contend with conflicts. But I'd rather spend an hour carefully going through and getting my versions right, than spend months building my own frameworks and libraries to accomplish what already exists.
[ MQ | Tor.NET | Mimick ]

GeneralRe: The way software is pasted together these days Pin
honey the codewitch15-Apr-24 0:32
mvahoney the codewitch15-Apr-24 0:32 
GeneralRe: The way software is pasted together these days Pin
Chris Copeland15-Apr-24 1:12
mveChris Copeland15-Apr-24 1:12 
GeneralRe: The way software is pasted together these days Pin
honey the codewitch15-Apr-24 1:15
mvahoney the codewitch15-Apr-24 1:15 
GeneralRe: The way software is pasted together these days Pin
Chris Copeland15-Apr-24 3:07
mveChris Copeland15-Apr-24 3:07 
GeneralRe: The way software is pasted together these days Pin
honey the codewitch15-Apr-24 14:25
mvahoney the codewitch15-Apr-24 14:25 
GeneralRe: The way software is pasted together these days Pin
jschell15-Apr-24 14:09
jschell15-Apr-24 14:09 
GeneralRe: The way software is pasted together these days Pin
honey the codewitch15-Apr-24 14:23
mvahoney the codewitch15-Apr-24 14:23 
GeneralRe: The way software is pasted together these days - by sheep Pin
Clive Hudson15-Apr-24 0:46
Clive Hudson15-Apr-24 0:46 
GeneralRe: The way software is pasted together these days Pin
Ron Anders12-Apr-24 2:36
Ron Anders12-Apr-24 2:36 
GeneralRe: The way software is pasted together these days Pin
dandy7212-Apr-24 3:52
dandy7212-Apr-24 3:52 
GeneralRe: The way software is pasted together these days Pin
PIEBALDconsult12-Apr-24 4:41
mvePIEBALDconsult12-Apr-24 4:41 
GeneralRe: The way software is pasted together these days Pin
dandy7212-Apr-24 7:23
dandy7212-Apr-24 7:23 
GeneralRe: The way software is pasted together these days Pin
PIEBALDconsult12-Apr-24 8:37
mvePIEBALDconsult12-Apr-24 8:37 
GeneralRe: The way software is pasted together these days Pin
jschell12-Apr-24 12:52
jschell12-Apr-24 12:52 
GeneralRe: The way software is pasted together these days Pin
dandy7213-Apr-24 7:31
dandy7213-Apr-24 7:31 
GeneralRe: The way software is pasted together these days Pin
PIEBALDconsult12-Apr-24 4:32
mvePIEBALDconsult12-Apr-24 4:32 
GeneralRe: The way software is pasted together these days Pin
jschell12-Apr-24 12:50
jschell12-Apr-24 12:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.