4 ms·
Packages, Not Programs
- cmiller1 2y agoThis seems silly, a Hello World package benefits no one. Programmers make the conscious decision about whether they're developing a program or a library and not everything is suited to a library. Why would a game developer want to allow you to import their game as a package?
- zelphirkalt 2y ago> Why would a game developer want to allow you to import their game as a package? Well, why wouldn't they? Surely there are useful functions and procedures in there? If not, those might be outsourced into other separate ... packages.
- tpoacher 2y agoI get the point about packages, but creating a separate package to host the tests for another package sounds a bit silly to me.
- deleted 2y ago[deleted]
- sshine 2y ago> packages, not programs Let me fix that for you: packages, and programs You put all the logic in a library. You reference the library in a very small program. The main() functions inside those small programs are usually one or two screens worth of lines. > Packages are a force multiplier With NixOS, programs are packages.