I'm not fully satisfied with Stack Exchange's recent proposal to change the code license to an MIT-like crayon license. What if I want the plain MIT license, where the license text must be replicated? What if I'd instead prefer a completely different license?
In general, I want to choose, and I want my choice to be clear.
Technically, I already can: If I wish to multi-license, I can add text to explain my wish, either to the question or to my profile. However, this has problems:
- It is confusing, especially to visitors. (In-band signaling is a bad idea.)
- I still can't post code with incompatible licenses (especially on Code Review), e.g. if the code is in commercial use and my employer mandates a particular license.
So how about this:
A dropdown in the answer editor—
—though probably with a lot more choices. This is just a mock-up. :)
Then we could make it super clear in the rendered answer what the choice was:
Maybe with subtler colours and clickable-looking links redirecting to the appropriate OSI license page. The dropdown could be pre-populated with the user's preferred license, so it doesn't need to be selected every time. (It should probably also have a ‘+’-button for multi-licensing purposes.)
Choosing the text's license is the domain of a different question, though a similar solution could work for that too.