• Luci@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      Sure, use GPL then. The libraries I share won’t get any use if they aren’t MIT

        • Luci@lemmy.ca
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          Every project has it’s requirements and every developer has opinions and ethics

          If LGPL works for you and your project then LGPL works. Why not?

          • 0x0@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            The libraries I share won’t get any use if they aren’t MIT

            The long version of my comment is: If the reason is copyleft licenses, then maybe the LGPL is somewhat of a middle-ground?

            • Luci@lemmy.ca
              link
              fedilink
              English
              arrow-up
              4
              ·
              1 day ago

              If I understand LGPL correctly, any change would require the modified code to be open sourced and available, where as with MIT the developer is free to modify the code without requiring publishing it?

              I want people to use my code in their games so they can get an idea to code faster, I feel like LGPL would be a limiting factor imo

              • 0x0@lemmy.zip
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 day ago

                Yes, if you change LGPL code you’re required to redistribute its source.
                The only advantage i see in the “L” is that you can have your MIT code link with LGPL libraries without hassle and they won’t “contaminate” each other.

                OTOH if you want people to screw around with your code unhindered then yeah, MIT or similar.

                I am not a lawyer.

                • Luci@lemmy.ca
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  1 day ago

                  I love this stuff, I’m gonna stick with MIT for myself but I love that there are so many options.

                • who@feddit.org
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  1 day ago

                  if you change LGPL code you’re required to redistribute its source.

                  No, you can change LGPL code all you want without distributing the source, so long as you don’t convey it (either in source or non-source form) to any other parties. The point is to guarantee that anyone receiving the code in any form has the same freedoms that you had when receiving it.

                  There are a lot of misconceptions floating around regarding these licenses; it’s really worth reading and trying to understand them even if you’re not a lawyer. The FAQ might help:

                  https://www.gnu.org/licenses/gpl-faq.html

                  https://www.gnu.org/licenses/lgpl-3.0.html

                  https://www.gnu.org/licenses/gpl-3.0.html

                  • 0x0@lemmy.zip
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    1 day ago

                    No, you can change LGPL code all you want without distributing the source, so long as you don’t convey it (either in source or non-source form) to any other parties.

                    That’s obvious and goes without saying, unless you’re implying whenever i change LGPL code uncle Sam is watching my keystrokes in my LAN?

                    I quoted the FAQ in one of my replies.