Article licence
Every published article on needcode.in is licensed under the Creative Commons Attribution-ShareAlike 4.0 International licence (CC BY-SA 4.0). Writers agree to this when they submit an article, and each article page says so at the bottom.
What you can do#
You may copy, share and adapt an article, for any purpose, including commercially, as long as you:
- Give credit. Name the author, link to the original article and to the licence, and say if you changed it. For example: "LRU cache" by Ada, needcode.in/@ada/lru-cache, CC BY-SA 4.0, edited for length.
- Share alike. If you publish an adapted version, license it under CC BY-SA 4.0 too.
- Add no extra restrictions. Don't add terms or technology that stop others doing what the licence allows.
For writers#
- You keep the copyright. The licence lets others reuse your words; it doesn't transfer ownership.
- The licence can't be withdrawn for copies already made, so only submit work you are happy to share.
- Only submit text you have the right to license. Quoting a short passage with credit is fine; copying someone else's article is not.
What isn't covered#
- Drafts and articles still in review are private and unlicensed until published.
- Comments are shown on the site under our Terms, not under CC BY-SA.
- The site itself: its source code is MIT licensed. The needcode name and logo are not part of either licence.
This page is a plain-language summary. The full legal code is what applies.