this post was submitted on 02 May 2025
88 points (97.8% liked)

Programming

20284 readers
583 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

It seems people have a hard time understanding the implications of licenses, so I have written a something to help with that.

you are viewing a single comment's thread
view the rest of the comments
[–] JackbyDev 40 points 2 weeks ago (17 children)
  1. AGPL. Strictest. You want a strict license. Don't let people take advantage of you. I see no good reason to pick GPL when AGPL exists.
  2. LGPL. If you want people to be able to use it (but not modify it) without their code having to be FLOSS as well. Still quite strict relatively with everything below.
  3. Apache. Permissive license. If you really want a permissive license, this is the one to go for.
  4. MIT. Permissive but less explicit. Okay for super short code.

Avoid at all costs CC0. CC0 explicitly does not give patent rights. MIT implicitly does.

[–] snaggen 3 points 2 weeks ago (1 children)

Well, for specific licenses there are use cases for MPL, which is weak copy left. LGPL is trying to state that statical linking is not allowed, while MPL does. Also, EUPL have simmilar advantages over AGPL, plus that it have very clear defined legal juristiction. So, when it comes to specific licenses there are many reasons to use whatever licence you use. Just make sure you use a license that reflects your expectations.

[–] JackbyDev 2 points 2 weeks ago

You can statically link LGPL code so long as you provide the end user instructions on how to use a different version of the LGPL portion of your code.

http://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynamic

load more comments (15 replies)