r/ProgrammerHumor • • 16d ago

Meme liveDemo

Post image
2.2k Upvotes

163 comments sorted by

View all comments

Show parent comment

7

u/BadgerwithaPickaxe 14d ago

There are a ton of reasons.

  • Repositories don't always hold production ready code.
  • this is a tool, not a program
  • there's more setup the user needs to do to use it
  • machine specific requirements.
  • the framework and language are not designed for executables
  • the user is intended to chose their own way to package/unpackage it

The fact you aren't aware of this is totally fine, if a dev wants layman to use their software, they should make it accesible. Sure. But if it isn't I feel like it's kinda wild to imply a dev is being lazy because you don't understand why they set this up this way.

If we say "install these libraries" then we don't have to write documentation for every single type of build, distribution, version, or what not of the project. Because devs aren't tech support. If you want to use their software then why don't you put in the 10 minutes or read the documention?

I promise you that the average layman that is looking at software on GitHub can figure out how to 'pip install' a library faster than I figure out how to turn the code I have into an executable.

I get that you're not familiar with how a lot of it works, but you're coming into a food hall where the ingredients have been laid out for you for free and you're complaining the volunteer isn't making your sandwich for you.

And if you find yourself unable to figure out how to lockpick your way in, maybe it wasn't intended for the layman

4

u/Jediweirdo 14d ago

After reading this, I’m realizing that everyone has their own way of interpreting this and it’s very interesting. Of course, if you weren’t planning on sharing your program with anyone who isn’t a developer or if your code boils down to being a python file, then that’s whatever. While it’s a nice thing to do (assuming it makes sense for your program), you shouldn’t have to go that far out of the way and make/package something like that as an exe or make a GUI for it and whatnot.

But if your project has it be compiled like a C or Rust project… you really should have precompiled binaries for people to use (assuming it’s not like a library or something). I’m not saying that you need to make your project compatible with every OS, or code sign it, or do anything else that would take a ton of time. I’m just saying that you could very easily make or copy/paste a 10-20 line GitHub action yaml to run the compilation commands in your readme and put them in a release. It doesn’t require that much work (20 minutes at most) and the gain from it is immense

1

u/Phantine 14d ago edited 14d ago

You originally specified in this hypothetical that it would only be ten minutes for a random unfamiliar end user to read docs, run some commands and get it working.

Your responses immediately pivot to it actually not being a ten minute job, and potentially being a tremendous pain in the ass to get this code to function, including it being not production ready or requiring machine-specific implementation details.

Heck, I guarantee you the average Joe is not setting up a functional python environment in ten minutes. Anything that needs a pip install this or that is already off the table in the hypthetical you created.

3

u/BadgerwithaPickaxe 14d ago

Im sorry I'm having a hard time passing your second paragraph. Did I say it wasn't a 10 minute job?

It's possible I contradicted myself just trying to understand

And you're right about the python, I was just lazy and wrote the first thing that came to my mind.

Edit: I also tried to use common terms to not intentionally confuse people. More worried about getting the message across than exact accuratcy