Open Source, Licensing & AI-Assisted Development
Two forces shape how software is made today. Open source — freely shared code that runs much of the world — and AI-assisted development — coding alongside AI tools — are both changing the day-to-day work. A beginner should know what each is, and the rules and limits that come with them. (AI tooling is a fast-moving field worth following on your own; here we cover what it is, not how to wield a specific tool.)
Both are about building on others' work — open source on shared code, AI on patterns learned from vast amounts of code — and both come with responsibilities.
A pair of pictures: open source is a vast shared public library, where borrowing is encouraged but each book has its own rules; an AI assistant is a fast, confident intern whose work is genuinely helpful but must always be checked.
Open Source
Open source is code that's made publicly available for anyone to use, study, change, and share. An astonishing amount of the software world runs on it — operating systems, languages, the libraries from Chapter 6. It's collaborative on a global scale: people and companies contribute fixes and features to projects they all depend on. Open source is less a niche and more the foundation nearly all modern software is built on.
Licenses Matter
"Free" still comes with rules, set by the project's license. Permissive licenses (like MIT or Apache) let you do almost anything, including using the code in closed commercial products. Copyleft licenses (like the GPL) require that if you distribute software built on them, you share your changes under the same terms. Picking up open-source code without checking its license is a real legal risk — the obligations are genuine, even when the code is free.
AI-Assisted Development
AI-assisted development means coding with help from AI tools that suggest, explain, and generate code as you work. They're genuinely useful — drafting boilerplate, explaining unfamiliar code, suggesting fixes — and they're now a normal part of many developers' day. But they're assistants, not authors: they're confidently wrong sometimes, don't truly understand your system, and shift the work toward judgment and review rather than replacing the developer.
Using AI Responsibly
The golden rule with AI tools is: you're still accountable for what ships. That means review everything the AI produces as carefully as a human's code, watch for licensing and security issues in generated code, and never paste in code you don't understand. AI doesn't remove the need for the discipline in this whole course — testing, review, design — it makes that discipline more important, because now there's more code to vet, produced faster.
Cadence is built on open-source libraries — the team checks each license is compatible with their product before adopting it — and the developers use an AI assistant to draft boilerplate and first-pass tests. But every AI suggestion goes through the same pull request and review as human-written code: Lena reads it, questions it, and only merges what she understands and trusts. The AI speeds them up; the discipline keeps them safe.
- "Open source means no rules — free to do anything." Licenses impose real obligations, from "do almost anything" (permissive) to "share your changes too" (copyleft). Free code still has terms you must follow.
- "AI will replace developers." It shifts the work toward judgment, review, and design rather than removing it. There's more code to vet, faster — which makes a developer's discipline more valuable, not less.
- "AI-written code is automatically correct and secure." AI is confidently wrong sometimes and doesn't understand your system. Its output must be reviewed and tested like any code, never trusted blindly.
- Open source underpins nearly all modern software — understanding it, and that licenses carry real obligations, is essential to building responsibly.
- AI assistance is now part of the everyday workflow, so a beginner must understand both its usefulness and its very real limits.
- Both reinforce the course's core lesson: the discipline of review, testing, and judgment matters more, not less, when you build on others' work.
Knowledge Check
What is open-source software?
- Code made publicly available for anyone to use, study, change, and share
- Code that comes completely free of any rules or conditions of any kind at all
- Software that can only ever be used by the single company that wrote it
- A specific programming language used only for building free software
What is the difference between permissive and copyleft licenses?
- Permissive lets you do almost anything; copyleft requires sharing your changes
- They are simply two different names for exactly the same kind of license at all
- Permissive licenses are free, while copyleft licenses always cost money to use
- Copyleft means the code has no license, and permissive means that it does
What is AI-assisted development?
- Coding with AI tools that suggest, explain, and generate code as you work
- A way to build complete software with no human developers involved at all anymore
- A specific programming language that is designed only for writing AI applications
- A guarantee that any code the AI writes will always be correct and secure
What is the golden rule when using AI coding tools?
- You're still accountable, so review everything and understand what you ship
- Trust the AI completely, since it is far more reliable than any human ever is
- Never use AI tools at all, because they will always produce broken code anyway
- Paste in whatever the AI produces, as long as the tests all happen to pass
Why is "AI will replace developers" considered a confusion?
- It shifts work toward judgment and review rather than removing developers
- Because AI tools are actually completely useless and never help anyone at all
- Because using any AI tool at all is strictly forbidden on professional teams
- Because using AI makes the finished program run much faster for all its users
You got correct