I've noticed that many people are utilizing source code from various platforms like GitHub for their projects. I'm curious about how this works. Is it considered copying if you use someone else's code? Can someone break it down for me?
4 Answers
Most software development involves using dependencies, which are basically chunks of code written by others that can make your life easier. For instance, if you're building a command line tool, borrowing a library to handle command line arguments can save you a lot of trouble. You can include this code by either copying it directly from GitHub or using package managers to grab the necessary libraries automatically.
Usually, it’s not just about copying and pasting. Many developers start by learning from existing code to understand its structure and then tweak it to fit their needs. The goal is to really grasp what the code is doing so you can amend or expand on it. If it's just a copy-paste job, then yeah, that’s definitely closer to copying!
Using source code typically comes with a license that outlines how you can use it—what's allowed and what's not. So, it’s not just copying blindly; you have to respect those license terms!
Remember, code is protected by copyright, so you need to follow the license rules that come with it. GitHub just hosts this code, and each project usually includes a license. You can either download code directly or use tools that help combine and build from multiple sources, depending on what you need.

Ohh okayy, that makes sense!