• 0x0@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months 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
      3
      ·
      4 months 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
        ·
        4 months 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
          ·
          4 months ago

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