⓿ dependencies!
Minimizing dependencies in software development enhances quality and performance. Developers should use built-in libraries, and library creators should aim for zero dependencies, potentially signified by a GitHub badge.
Read original articleThe text discusses the importance of minimizing dependencies in software development, particularly for libraries. It emphasizes that while it is challenging to create applications with zero dependencies, developers should strive to use built-in libraries of their programming language. For library developers, aiming for zero dependencies is beneficial, especially for those targeting a wide user base, strict security standards, or predictable performance. The text also mentions a badge that can be added to a README.md file on GitHub to signify zero dependencies.
- Minimizing dependencies is crucial for software quality and performance.
- Striving for zero dependencies is particularly important for library developers.
- Using built-in libraries can help reduce dependency issues.
- A badge can be added to GitHub projects to indicate zero dependencies.
Related
Reproducibility in Disguise
Reproducibility in software development is supported by tools like Bazel, addressing lifecycle challenges. Vendor dependencies for reproducibility face complexity, leading to proposed solutions like vendoring all dependencies for control.
Ask HN: Pragmatic way to avoid supply chain attacks as a developer
The article addresses the security risks of managing software dependencies, highlighting a specific incident of a compromised package. It debates the effectiveness of containers versus VMs and seeks practical solutions.
Micro-libraries need to die already
The article critiques micro-libraries for introducing complexity and security risks, advocating for developers to use simple utility functions instead, which can reduce dependency issues and improve code efficiency.
Breaking Changes: A Tooling Problem
Richard Marmorstein discusses the challenges of managing breaking changes in library development, emphasizing the need for better tooling and definitions to support library maintainers and enhance usability for diverse users.
The Fundamental Law of Software Dependencies
The Fundamental Law of Software Dependencies emphasizes checksums for all dependencies, a comprehensive lockfile, and compiler hashes to enhance security, automate management, and ensure reproducible builds in software development.
<link href="https://fonts.googleapis.com/css?family=Source+Serif+Pro" rel="stylesheet">
The closest thing I've seen to do "zero dependencies" is esbuild, even then, last time I checked it has one dependencies in go.mod I think for old version's compatibility reason
What certain is, like the other commenter said, I believe in minimizing dependencies... not zero dependencies
Another nitpick: I hate the usage of `⓿` character. I wonder how this will be read by screenreader...
0 runtime dependencies though is another story - very helpful in deployments where your package manager doesn't solve it.
Related
Reproducibility in Disguise
Reproducibility in software development is supported by tools like Bazel, addressing lifecycle challenges. Vendor dependencies for reproducibility face complexity, leading to proposed solutions like vendoring all dependencies for control.
Ask HN: Pragmatic way to avoid supply chain attacks as a developer
The article addresses the security risks of managing software dependencies, highlighting a specific incident of a compromised package. It debates the effectiveness of containers versus VMs and seeks practical solutions.
Micro-libraries need to die already
The article critiques micro-libraries for introducing complexity and security risks, advocating for developers to use simple utility functions instead, which can reduce dependency issues and improve code efficiency.
Breaking Changes: A Tooling Problem
Richard Marmorstein discusses the challenges of managing breaking changes in library development, emphasizing the need for better tooling and definitions to support library maintainers and enhance usability for diverse users.
The Fundamental Law of Software Dependencies
The Fundamental Law of Software Dependencies emphasizes checksums for all dependencies, a comprehensive lockfile, and compiler hashes to enhance security, automate management, and ensure reproducible builds in software development.